This repository was archived by the owner on Aug 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1- # Logstash 6.8.0
1+ # Logstash 6.8.1
22
33# This image re-bundles the Docker image from the upstream provider, Elastic.
4- FROM docker.elastic.co/logstash/logstash:6.8.0 @sha256:486f5dbe61db4d122bb82699f2237b88587dd9a0eb1f67ee90190659a2988c50
4+ FROM docker.elastic.co/logstash/logstash:6.8.1 @sha256:2280dc3c1deb9d9006cd2a423e09e649ed19109292690f52dd303d0048fc68e1
55
66# The upstream image was built by:
7- # https://github.com/elastic/logstash-docker /tree/6 .8.0
7+ # https://github.com/elastic/dockerfiles /tree/v6 .8.1/logstash
88
99# For a full list of supported images and tags visit https://www.docker.elastic.co
1010
Original file line number Diff line number Diff line change @@ -47,13 +47,20 @@ for version in "${versions[@]}"; do
4747 # Format image reference (image@sha)
4848 upstreamImageDigest=" $upstreamImage @$digest "
4949
50- upstreamDockerfileLink=" https://github.com/elastic/logstash-docker /tree/$fullVersion "
50+ upstreamDockerfileLink=" https://github.com/elastic/dockerfiles /tree/v $fullVersion /logstash "
5151 upstreamDockerfile=" ${upstreamDockerfileLink// tree/ raw} /Dockerfile"
5252
53+ skipDockerfileCheck=
54+ if [ " $version " = ' 7' ]; then
55+ # TODO ditch this once 7 moves over to https://github.com/elastic/dockerfiles too?
56+ upstreamDockerfileLink=" https://github.com/elastic/logstash-docker/tree/$fullVersion "
57+ skipDockerfileCheck=1
58+ fi
59+
5360 (
5461 set -x
5562 curl -fsSL -o /dev/null " $upstreamDockerfileLink " # make sure the upstream Dockerfile link exists
56- # TODO curl -fsSL "$upstreamDockerfile" | grep -P "\Q$fullVersion" # ... and that it contains the right version
63+ [ -n " $skipDockerfileCheck " ] || curl -fsSL " $upstreamDockerfile " | grep -P " \Q$fullVersion " # ... and that it contains the right version
5764 )
5865
5966 sed -e ' s!%%LOGSTASH_VERSION%%!' " $fullVersion " ' !g' \
You can’t perform that action at this time.
0 commit comments