Commit a5433c11 authored by shenlu's avatar shenlu

add elasticsearch dockerfile

parent d7fd088f
FROM docker.elastic.co/elasticsearch/elasticsearch:6.2.3
MAINTAINER xt
COPY run.sh /
RUN chmod 775 /run.sh
CMD ["/run.sh"]
\ No newline at end of file
#!/bin/bash
# 设置memlock无限制
ulimit -l unlimited
exec su elasticsearch /usr/local/bin/docker-entrypoint.sh
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment