Skip to content

Commit f682427

Browse files
elasticmachineMaxime Gréau
authored and
Maxime Gréau
committed
Contexts for 6.8.5 (#28)
This commit was created by the elastic-dockerfiles-publisher.
1 parent 0b9d040 commit f682427

File tree

4 files changed

+23
-21
lines changed

4 files changed

+23
-21
lines changed

elasticsearch/Dockerfile

+17-15
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@
1414
FROM centos:7 AS builder
1515

1616
ENV PATH /usr/share/elasticsearch/bin:$PATH
17-
ENV JAVA_HOME /opt/jdk-13+33
18-
19-
RUN curl -L --retry 8 -s https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13%2B33/OpenJDK13U-jdk_x64_linux_hotspot_13_33.tar.gz | tar -C /opt -zxf -
17+
ENV JAVA_HOME /opt/jdk-13.0.1+9
2018

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 && \
20+
exit_code=0 && break || exit_code=\$? && echo "download error: retry $iter in 10s" && sleep 10; done; \
21+
(exit $exit_code)
22+
2123
# Replace OpenJDK's built-in CA certificate keystore with the one from the OS
2224
# vendor. The latter is superior in several ways.
2325
# REF: https://github.com/elastic/elasticsearch-docker/issues/171
24-
RUN ln -sf /etc/pki/ca-trust/extracted/java/cacerts /opt/jdk-13+33/lib/security/cacerts
26+
RUN ln -sf /etc/pki/ca-trust/extracted/java/cacerts /opt/jdk-13.0.1+9/lib/security/cacerts
2527

2628
RUN yum install -y unzip which
2729

@@ -30,9 +32,9 @@ RUN groupadd -g 1000 elasticsearch && \
3032

3133
WORKDIR /usr/share/elasticsearch
3234

33-
RUN cd /opt && curl --retry 8 -s -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.4.tar.gz && cd -
35+
RUN cd /opt && curl --retry 8 -s -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.5.tar.gz && cd -
3436

35-
RUN tar zxf /opt/elasticsearch-6.8.4.tar.gz --strip-components=1
37+
RUN tar zxf /opt/elasticsearch-6.8.5.tar.gz --strip-components=1
3638
RUN grep ES_DISTRIBUTION_TYPE=tar /usr/share/elasticsearch/bin/elasticsearch-env \
3739
&& sed -ie 's/ES_DISTRIBUTION_TYPE=tar/ES_DISTRIBUTION_TYPE=docker/' /usr/share/elasticsearch/bin/elasticsearch-env
3840
RUN mkdir -p config data logs
@@ -48,13 +50,13 @@ COPY config/elasticsearch.yml config/log4j2.properties config/
4850
FROM centos:7
4951

5052
ENV ELASTIC_CONTAINER true
51-
ENV JAVA_HOME /opt/jdk-13+33
53+
ENV JAVA_HOME /opt/jdk-13.0.1+9
5254

53-
COPY --from=builder /opt/jdk-13+33 /opt/jdk-13+33
55+
COPY --from=builder /opt/jdk-13.0.1+9 /opt/jdk-13.0.1+9
5456

5557
RUN for iter in {1..10}; do yum update --setopt=tsflags=nodocs -y && \
5658
yum install -y --setopt=tsflags=nodocs nc unzip wget which && \
57-
yum clean all && exit_code=0 && break || exit_code=\$? && echo "yum error: retry \$iter in 10s" && sleep 10; done; \
59+
yum clean all && exit_code=0 && break || exit_code=\$? && echo "yum error: retry $iter in 10s" && sleep 10; done; \
5860
(exit $exit_code)
5961

6062
RUN groupadd -g 1000 elasticsearch && \
@@ -76,25 +78,25 @@ RUN chgrp 0 /usr/local/bin/docker-entrypoint.sh && \
7678

7779
EXPOSE 9200 9300
7880

79-
LABEL org.label-schema.build-date="2019-10-16T06:19:49.319352Z" \
81+
LABEL org.label-schema.build-date="2019-11-13T20:04:24.100411Z" \
8082
org.label-schema.license="Elastic-License" \
8183
org.label-schema.name="Elasticsearch" \
8284
org.label-schema.schema-version="1.0" \
8385
org.label-schema.url="https://www.elastic.co/products/elasticsearch" \
8486
org.label-schema.usage="https://www.elastic.co/guide/en/elasticsearch/reference/index.html" \
85-
org.label-schema.vcs-ref="bca0c8d6a8e62c36e3f9e7673017393dcef557b6" \
87+
org.label-schema.vcs-ref="78990e93431aebcc3dcd7fa20fab4b5b29ab7988" \
8688
org.label-schema.vcs-url="https://github.com/elastic/elasticsearch" \
8789
org.label-schema.vendor="Elastic" \
88-
org.label-schema.version="6.8.4" \
89-
org.opencontainers.image.created="2019-10-16T06:19:49.319352Z" \
90+
org.label-schema.version="6.8.5" \
91+
org.opencontainers.image.created="2019-11-13T20:04:24.100411Z" \
9092
org.opencontainers.image.documentation="https://www.elastic.co/guide/en/elasticsearch/reference/index.html" \
9193
org.opencontainers.image.licenses="Elastic-License" \
92-
org.opencontainers.image.revision="bca0c8d6a8e62c36e3f9e7673017393dcef557b6" \
94+
org.opencontainers.image.revision="78990e93431aebcc3dcd7fa20fab4b5b29ab7988" \
9395
org.opencontainers.image.source="https://github.com/elastic/elasticsearch" \
9496
org.opencontainers.image.title="Elasticsearch" \
9597
org.opencontainers.image.url="https://www.elastic.co/products/elasticsearch" \
9698
org.opencontainers.image.vendor="Elastic" \
97-
org.opencontainers.image.version="6.8.4"
99+
org.opencontainers.image.version="6.8.5"
98100

99101
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
100102
# Dummy overridable parameter parsed by entrypoint

kibana/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
# Extract Kibana and make various file manipulations.
88
################################################################################
99
FROM centos:7 AS prep_files
10-
RUN cd /opt && curl --retry 8 -s -L -O https://artifacts.elastic.co/downloads/kibana/kibana-6.8.4-linux-x86_64.tar.gz && cd -
10+
RUN cd /opt && curl --retry 8 -s -L -O https://artifacts.elastic.co/downloads/kibana/kibana-6.8.5-linux-x86_64.tar.gz && cd -
1111
RUN mkdir /usr/share/kibana
1212
WORKDIR /usr/share/kibana
13-
RUN tar --strip-components=1 -zxf /opt/kibana-6.8.4-linux-x86_64.tar.gz
13+
RUN tar --strip-components=1 -zxf /opt/kibana-6.8.5-linux-x86_64.tar.gz
1414
# Ensure that group permissions are the same as user permissions.
1515
# This will help when relying on GID-0 to run Kibana, rather than UID-1000.
1616
# OpenShift does this, for example.
@@ -50,6 +50,6 @@ RUN chmod g+ws /usr/share/kibana && find /usr/share/kibana -gid 0 -and -not -per
5050
RUN groupadd --gid 1000 kibana && useradd --uid 1000 --gid 1000 --home-dir /usr/share/kibana --no-create-home kibana
5151
USER kibana
5252

53-
LABEL org.label-schema.schema-version="1.0" org.label-schema.vendor="Elastic" org.label-schema.name="kibana" org.label-schema.version="6.8.4" org.label-schema.url="https://www.elastic.co/products/kibana" org.label-schema.vcs-url="https://github.com/elastic/kibana" org.label-schema.license="Elastic License" license="Elastic License"
53+
LABEL org.label-schema.schema-version="1.0" org.label-schema.vendor="Elastic" org.label-schema.name="kibana" org.label-schema.version="6.8.5" org.label-schema.url="https://www.elastic.co/products/kibana" org.label-schema.vcs-url="https://github.com/elastic/kibana" org.label-schema.license="Elastic License" license="Elastic License"
5454

5555
CMD ["/usr/local/bin/kibana-docker"]

logstash/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ RUN groupadd --gid 1000 logstash && \
1313
logstash
1414

1515
# Add Logstash itself.
16-
RUN curl -Lo - https://artifacts.elastic.co/downloads/logstash/logstash-6.8.4.tar.gz | \
16+
RUN curl -Lo - https://artifacts.elastic.co/downloads/logstash/logstash-6.8.5.tar.gz | \
1717
tar zxf - -C /usr/share && \
18-
mv /usr/share/logstash-6.8.4 /usr/share/logstash && \
18+
mv /usr/share/logstash-6.8.5 /usr/share/logstash && \
1919
chown --recursive logstash:logstash /usr/share/logstash/ && \
2020
chown -R logstash:root /usr/share/logstash && \
2121
chmod -R g=u /usr/share/logstash && \
@@ -52,7 +52,7 @@ EXPOSE 9600 5044
5252
LABEL org.label-schema.schema-version="1.0" \
5353
org.label-schema.vendor="Elastic" \
5454
org.label-schema.name="logstash" \
55-
org.label-schema.version="6.8.4" \
55+
org.label-schema.version="6.8.5" \
5656
org.label-schema.url="https://www.elastic.co/products/logstash" \
5757
org.label-schema.vcs-url="https://github.com/elastic/logstash" \
5858
license="Elastic License"

logstash/env2yaml/env2yaml

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)