ADD file:7009ad0ee0bbe5ed7f381792e07347e260e6896aeee0d80597808065120fa96b in / |
CMD ["bash"] |
/bin/sh -c yes no | dpkg-reconfigure dash && for iter in 1 2 3 4 5 6 7 8 9 10; do export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends ca-certificates curl netcat p11-kit unzip vim-tiny zip && apt-get clean && rm -rf /var/lib/apt/lists/* && exit_code=0 && break || exit_code=$? && echo "apt-get error: retry $iter in 10s" && sleep 10; done; exit $exit_code |
/bin/sh -c groupadd -g 1000 elasticsearch && adduser --uid 1000 --gid 1000 --home /usr/share/elasticsearch elasticsearch && adduser elasticsearch root && chown -R 0:0 /usr/share/elasticsearch |
ENV ELASTIC_CONTAINER=true |
WORKDIR /usr/share/elasticsearch |
COPY --chown=0:0dir:549be6b9d73a27c351f455baa31dc1ee6178243ba7007fa8dee8e3f73969de9b in /usr/share/elasticsearch |
COPY --chown=0:0file:fcc427e6b1b34164533c7d80cf8bba68e6f09d5c7d442ca055586359d7076e62 in /bin/tini |
ENV PATH=/usr/share/elasticsearch/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
COPY file:35bdfc6ad8079cb9cab605169a09ebfe8ce26cd4a9e4120efe12f418073a9bfb in /usr/local/bin/docker-entrypoint.sh |
/bin/sh -c chmod g=u /etc/passwd && chmod 0555 /usr/local/bin/docker-entrypoint.sh && find / -xdev -perm -4000 -exec chmod ug-s {} + && chmod 0775 /usr/share/elasticsearch && chown elasticsearch bin config config/jvm.options.d data logs plugins |
COPY file:12a03e8b4b92c72f58aeb5fcc5d8c6ce94ffb52fa4e13b04e23229fa535fedc0 in /etc/ca-certificates/update.d/docker-openjdk |
/bin/sh -c /etc/ca-certificates/update.d/docker-openjdk |
EXPOSE 9200 9300 |
LABEL org.label-schema.build-date=2022-05-18T20:11:36.585918371Z org.label-schema.license=Elastic-License-2.0 org.label-schema.name=Elasticsearch org.label-schema.schema-version=1.0 org.label-schema.url=https://www.elastic.co/products/elasticsearch org.label-schema.usage=https://www.elastic.co/guide/en/elasticsearch/reference/index.html org.label-schema.vcs-ref=79878662c54c886ae89206c685d9f1051a9d6411 org.label-schema.vcs-url=https://github.com/elastic/elasticsearch org.label-schema.vendor=Elastic org.label-schema.version=7.17.4 org.opencontainers.image.created=2022-05-18T20:11:36.585918371Z org.opencontainers.image.documentation=https://www.elastic.co/guide/en/elasticsearch/reference/index.html org.opencontainers.image.licenses=Elastic-License-2.0 org.opencontainers.image.revision=79878662c54c886ae89206c685d9f1051a9d6411 org.opencontainers.image.source=https://github.com/elastic/elasticsearch org.opencontainers.image.title=Elasticsearch org.opencontainers.image.url=https://www.elastic.co/products/elasticsearch org.opencontainers.image.vendor=Elastic org.opencontainers.image.version=7.17.4 |
ENTRYPOINT ["/bin/tini" "--" "/usr/local/bin/docker-entrypoint.sh"] |
CMD ["eswrapper"] |
ARG ES_VERSION |
RUN |1 ES_VERSION=7.17.4 /bin/sh -c mkdir -p plugins/ik && curl -L -o plugins/ik/ik-${ES_VERSION}.zip https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v${ES_VERSION}/elasticsearch-analysis-ik-${ES_VERSION}.zip && unzip -o plugins/ik/ik-${ES_VERSION}.zip -d plugins/ik && rm plugins/ik/ik-${ES_VERSION}.zip # buildkit |