1414FROM centos:7 AS builder
1515
1616ENV PATH /usr/share/elasticsearch/bin:$PATH
17- ENV JAVA_HOME /opt/jdk-12.0.1
17+ ENV JAVA_HOME /opt/jdk-12.0.2
1818
19- RUN curl --retry 8 -s https://download.oracle.com /java/GA/jdk12.0.1/69cfe15208a647278a19ef0990eea691/12 /GPL/openjdk-12.0.1_linux -x64_bin.tar.gz | tar -C /opt -zxf -
19+ RUN curl --retry 8 -s https://download.java.net /java/GA/jdk12.0.2/e482c34c86bd4bf8b56c0b35558996b9/10 /GPL/openjdk-12.0.2_linux -x64_bin.tar.gz | tar -C /opt -zxf -
2020
2121# Replace OpenJDK's built-in CA certificate keystore with the one from the OS
2222# vendor. The latter is superior in several ways.
2323# REF: https://github.com/elastic/elasticsearch-docker/issues/171
24- RUN ln -sf /etc/pki/ca-trust/extracted/java/cacerts /opt/jdk-12.0.1 /lib/security/cacerts
24+ RUN ln -sf /etc/pki/ca-trust/extracted/java/cacerts /opt/jdk-12.0.2 /lib/security/cacerts
2525
2626RUN yum install -y unzip which
2727
@@ -30,9 +30,9 @@ RUN groupadd -g 1000 elasticsearch && \
3030
3131WORKDIR /usr/share/elasticsearch
3232
33- RUN cd /opt && curl --retry 8 -s -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.2 .tar.gz && cd -
33+ RUN cd /opt && curl --retry 8 -s -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.3 .tar.gz && cd -
3434
35- RUN tar zxf /opt/elasticsearch-6.8.2 .tar.gz --strip-components=1
35+ RUN tar zxf /opt/elasticsearch-6.8.3 .tar.gz --strip-components=1
3636RUN grep ES_DISTRIBUTION_TYPE=tar /usr/share/elasticsearch/bin/elasticsearch-env \
3737 && sed -ie 's/ES_DISTRIBUTION_TYPE=tar/ES_DISTRIBUTION_TYPE=docker/' /usr/share/elasticsearch/bin/elasticsearch-env
3838RUN mkdir -p config data logs
@@ -48,9 +48,9 @@ COPY config/elasticsearch.yml config/log4j2.properties config/
4848FROM centos:7
4949
5050ENV ELASTIC_CONTAINER true
51- ENV JAVA_HOME /opt/jdk-12.0.1
51+ ENV JAVA_HOME /opt/jdk-12.0.2
5252
53- COPY --from=builder /opt/jdk-12.0.1 /opt/jdk-12.0.1
53+ COPY --from=builder /opt/jdk-12.0.2 /opt/jdk-12.0.2
5454
5555RUN for iter in {1..10}; do yum update -y && \
5656 yum install -y nc unzip wget which && \
@@ -76,13 +76,25 @@ RUN chgrp 0 /usr/local/bin/docker-entrypoint.sh && \
7676
7777EXPOSE 9200 9300
7878
79- LABEL org.label-schema.schema-version= "1.0 " \
80- org.label-schema.vendor ="Elastic" \
81- org.label-schema.name="elasticsearch " \
82- org.label-schema.version="6.8.2 " \
79+ LABEL org.label-schema.build-date= "2019-08-29T19:05:24.312154Z " \
80+ org.label-schema.license ="Elastic-License " \
81+ org.label-schema.name="Elasticsearch " \
82+ org.label-schema.schema- version="1.0 " \
8383 org.label-schema.url="https://www.elastic.co/products/elasticsearch" \
84+ org.label-schema.usage="https://www.elastic.co/guide/en/elasticsearch/reference/index.html" \
85+ org.label-schema.vcs-ref="0c48c0e73be564f3a8a286b2165d50de2fbbb661" \
8486 org.label-schema.vcs-url="https://github.com/elastic/elasticsearch" \
85- license="Elastic License"
87+ org.label-schema.vendor="Elastic" \
88+ org.label-schema.version="6.8.3" \
89+ org.opencontainers.image.created="2019-08-29T19:05:24.312154Z" \
90+ org.opencontainers.image.documentation="https://www.elastic.co/guide/en/elasticsearch/reference/index.html" \
91+ org.opencontainers.image.licenses="Elastic-License" \
92+ org.opencontainers.image.revision="0c48c0e73be564f3a8a286b2165d50de2fbbb661" \
93+ org.opencontainers.image.source="https://github.com/elastic/elasticsearch" \
94+ org.opencontainers.image.title="Elasticsearch" \
95+ org.opencontainers.image.url="https://www.elastic.co/products/elasticsearch" \
96+ org.opencontainers.image.vendor="Elastic" \
97+ org.opencontainers.image.version="6.8.3"
8698
8799ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh" ]
88100# Dummy overridable parameter parsed by entrypoint
0 commit comments