14
14
FROM centos:7 AS builder
15
15
16
16
ENV PATH /usr/share/elasticsearch/bin:$PATH
17
- ENV JAVA_HOME /opt/jdk-13.0.1+9
17
+ ENV JAVA_HOME /opt/jdk-13.0.2+8
18
18
19
- RUN for iter in {1..10}; do curl -L -s -S https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13.0.1%2B9 /OpenJDK13U-jdk_x64_linux_hotspot_13.0.1_9 .tar.gz | tar -C /opt -zx && \
19
+ RUN for iter in {1..10}; do curl -L -s -S https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13.0.2%2B8 /OpenJDK13U-jdk_x64_linux_hotspot_13.0.2_8 .tar.gz | tar -C /opt -zx && \
20
20
exit_code=0 && break || exit_code=\$ ? && echo "download error: retry $iter in 10s" && sleep 10; done; \
21
21
(exit $exit_code)
22
22
23
23
# Replace OpenJDK's built-in CA certificate keystore with the one from the OS
24
24
# vendor. The latter is superior in several ways.
25
25
# REF: https://github.com/elastic/elasticsearch-docker/issues/171
26
- RUN ln -sf /etc/pki/ca-trust/extracted/java/cacerts /opt/jdk-13.0.1+9 /lib/security/cacerts
26
+ RUN ln -sf /etc/pki/ca-trust/extracted/java/cacerts /opt/jdk-13.0.2+8 /lib/security/cacerts
27
27
28
28
RUN yum install -y unzip which
29
29
@@ -32,9 +32,9 @@ RUN groupadd -g 1000 elasticsearch && \
32
32
33
33
WORKDIR /usr/share/elasticsearch
34
34
35
- RUN cd /opt && curl --retry 8 -s -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.6 .tar.gz && cd -
35
+ RUN cd /opt && curl --retry 8 -s -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.7 .tar.gz && cd -
36
36
37
- RUN tar zxf /opt/elasticsearch-6.8.6 .tar.gz --strip-components=1
37
+ RUN tar zxf /opt/elasticsearch-6.8.7 .tar.gz --strip-components=1
38
38
RUN grep ES_DISTRIBUTION_TYPE=tar /usr/share/elasticsearch/bin/elasticsearch-env \
39
39
&& sed -ie 's/ES_DISTRIBUTION_TYPE=tar/ES_DISTRIBUTION_TYPE=docker/' /usr/share/elasticsearch/bin/elasticsearch-env
40
40
RUN mkdir -p config data logs
@@ -50,9 +50,9 @@ COPY config/elasticsearch.yml config/log4j2.properties config/
50
50
FROM centos:7
51
51
52
52
ENV ELASTIC_CONTAINER true
53
- ENV JAVA_HOME /opt/jdk-13.0.1+9
53
+ ENV JAVA_HOME /opt/jdk-13.0.2+8
54
54
55
- COPY --from=builder /opt/jdk-13.0.1+9 /opt/jdk-13.0.1+9
55
+ COPY --from=builder /opt/jdk-13.0.2+8 /opt/jdk-13.0.2+8
56
56
57
57
RUN for iter in {1..10}; do yum update --setopt=tsflags=nodocs -y && \
58
58
yum install -y --setopt=tsflags=nodocs nc unzip wget which && \
@@ -78,25 +78,25 @@ RUN chgrp 0 /usr/local/bin/docker-entrypoint.sh && \
78
78
79
79
EXPOSE 9200 9300
80
80
81
- LABEL org.label-schema.build-date="2019-12-13T17:11:52.013738Z " \
81
+ LABEL org.label-schema.build-date="2020-02-26T14:38:01.193138Z " \
82
82
org.label-schema.license="Elastic-License" \
83
83
org.label-schema.name="Elasticsearch" \
84
84
org.label-schema.schema-version="1.0" \
85
85
org.label-schema.url="https://www.elastic.co/products/elasticsearch" \
86
86
org.label-schema.usage="https://www.elastic.co/guide/en/elasticsearch/reference/index.html" \
87
- org.label-schema.vcs-ref="3d9f765bcad28244dc4c8eb8e8b7ba97ba5408f1 " \
87
+ org.label-schema.vcs-ref="c63e621eaba638f77ebb10e03f7637688eb0a726 " \
88
88
org.label-schema.vcs-url="https://github.com/elastic/elasticsearch" \
89
89
org.label-schema.vendor="Elastic" \
90
- org.label-schema.version="6.8.6 " \
91
- org.opencontainers.image.created="2019-12-13T17:11:52.013738Z " \
90
+ org.label-schema.version="6.8.7 " \
91
+ org.opencontainers.image.created="2020-02-26T14:38:01.193138Z " \
92
92
org.opencontainers.image.documentation="https://www.elastic.co/guide/en/elasticsearch/reference/index.html" \
93
93
org.opencontainers.image.licenses="Elastic-License" \
94
- org.opencontainers.image.revision="3d9f765bcad28244dc4c8eb8e8b7ba97ba5408f1 " \
94
+ org.opencontainers.image.revision="c63e621eaba638f77ebb10e03f7637688eb0a726 " \
95
95
org.opencontainers.image.source="https://github.com/elastic/elasticsearch" \
96
96
org.opencontainers.image.title="Elasticsearch" \
97
97
org.opencontainers.image.url="https://www.elastic.co/products/elasticsearch" \
98
98
org.opencontainers.image.vendor="Elastic" \
99
- org.opencontainers.image.version="6.8.6 "
99
+ org.opencontainers.image.version="6.8.7 "
100
100
101
101
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh" ]
102
102
# Dummy overridable parameter parsed by entrypoint
0 commit comments