elasticsearch (7.17.22)
Installation
docker pull opencode.jsaix.cn/chenc/elasticsearch:7.17.22sha256:0cd141f817f8ad568fa39ac32d96e5aeca4a529dd227ccce969e2b9cfd28faabImage Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=20.04 |
| ADD file:e7cff353f027ecf0a2cb1cdd51714de3b083a11a0d965f104489f9a7e6925056 in / |
| CMD ["/bin/bash"] |
| RUN /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 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 # buildkit |
| RUN /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 # buildkit |
| ENV ELASTIC_CONTAINER=true |
| WORKDIR /usr/share/elasticsearch |
| COPY --chown=0:0 /usr/share/elasticsearch /usr/share/elasticsearch # buildkit |
| COPY --chown=0:0 /bin/tini /bin/tini # buildkit |
| ENV PATH=/usr/share/elasticsearch/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| COPY bin/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh # buildkit |
| RUN /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 # buildkit |
| COPY bin/docker-openjdk /etc/ca-certificates/update.d/docker-openjdk # buildkit |
| RUN /bin/sh -c /etc/ca-certificates/update.d/docker-openjdk # buildkit |
| EXPOSE map[9200/tcp:{} 9300/tcp:{}] |
| LABEL org.label-schema.build-date=2024-06-06T07:35:17.876121680Z 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=38e9ca2e81304a821c50862dafab089ca863944b org.label-schema.vcs-url=https://github.com/elastic/elasticsearch org.label-schema.vendor=Elastic org.label-schema.version=7.17.22 org.opencontainers.image.created=2024-06-06T07:35:17.876121680Z 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=38e9ca2e81304a821c50862dafab089ca863944b 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.22 |
| ENTRYPOINT ["/bin/tini" "--" "/usr/local/bin/docker-entrypoint.sh"] |
| CMD ["eswrapper"] |
| LABEL author=0x49 |
| LABEL email=1458513@qq.com |
| RUN /bin/sh -c sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list && sed -i 's/security.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list && apt update && apt install -y tzdata jq && apt upgrade -y && apt clean && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY elasticsearch_health_check.sh /usr/local/bin/ # buildkit |
| EXPOSE map[9200/tcp:{}] |
| HEALTHCHECK &{["CMD-SHELL" "/usr/local/bin/elasticsearch_health_check.sh ${ELASTIC_PASSWORD}"] "30s" "30s" "0s" "0s" '\x00'} |
Labels
| Key | Value |
|---|---|
| author | 0x49 |
| 1458513@qq.com | |
| org.label-schema.build-date | 2024-06-06T07:35:17.876121680Z |
| 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 | 38e9ca2e81304a821c50862dafab089ca863944b |
| org.label-schema.vcs-url | https://github.com/elastic/elasticsearch |
| org.label-schema.vendor | Elastic |
| org.label-schema.version | 7.17.22 |
| org.opencontainers.image.created | 2024-06-06T07:35:17.876121680Z |
| 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.ref.name | ubuntu |
| org.opencontainers.image.revision | 38e9ca2e81304a821c50862dafab089ca863944b |
| 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.22 |
Details
2024-07-16 08:02:58 +00:00
Versions (2)
View all
Container
33
OCI / Docker
linux/amd64
Elastic-License-2.0
348 MiB