first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
19
base/elasticsearch/1.1.1/Dockerfile
Normal file
19
base/elasticsearch/1.1.1/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM openjdk:8-jre
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
COPY logging.yml ./config/logging.yml
|
||||
COPY docker-entrypoint.sh /
|
||||
|
||||
RUN set -ex \
|
||||
&& mkdir -p /usr/share/elasticsearch \
|
||||
&& wget -qO- https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.1.1.tar.gz | tar zx \
|
||||
--strip-components 1 -C /usr/share/elasticsearch \
|
||||
&& chmod +x /docker-entrypoint.sh
|
||||
|
||||
ENV PATH /usr/share/elasticsearch/bin:$PATH
|
||||
WORKDIR /usr/share/elasticsearch
|
||||
EXPOSE 9200 9300
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["elasticsearch"]
|
Reference in New Issue
Block a user