Skip to content

Commit 23ff7ba

Browse files
Updates docker images to latest base layer and package versions (#3792)
Signed-off-by: Adrian Cole <[email protected]>
1 parent e151986 commit 23ff7ba

File tree

17 files changed

+32
-34
lines changed

17 files changed

+32
-34
lines changed

benchmarks/src/test/java/zipkin2/server/ServerIntegratedBenchmark.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ GenericContainer<?> createZipkinContainer(@Nullable GenericContainer<?> storage)
277277

278278
final GenericContainer<?> zipkin;
279279
if (RELEASE_VERSION == null) {
280-
zipkin = new GenericContainer<>(parse("ghcr.io/openzipkin/java:21.0.5_p11"));
280+
zipkin = new GenericContainer<>(parse("ghcr.io/openzipkin/java:21.0.6_p7"));
281281
List<String> classpath = new ArrayList<>();
282282
for (String item : System.getProperty("java.class.path").split(File.pathSeparator)) {
283283
Path path = Paths.get(item);

build-bin/docker-compose-zipkin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
# Use fixed service and container name 'sut; so our test script can copy/pasta
1515
sut:
1616
container_name: sut
17-
image: ghcr.io/openzipkin/alpine:3.20.3
17+
image: ghcr.io/openzipkin/alpine:3.21.2
1818
entrypoint: /bin/sh
1919
# Keep the container running until HEALTHCHECK passes
2020
command: "-c \"sleep 5m\""

build-bin/docker/docker_args

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if [ -n "${DOCKER_TARGET}" ]; then
3737
fi
3838

3939
# When non-empty, becomes the base layer including tag appropriate for the image being built.
40-
# e.g. ghcr.io/openzipkin/java:21.0.5_p11-jre
40+
# e.g. ghcr.io/openzipkin/java:21.0.6_p7-jre
4141
#
4242
# This is not required to be a base (FROM scratch) image like ghcr.io/openzipkin/alpine:3.12.3
4343
# See https://docs.docker.com/glossary/#parent-image
@@ -51,7 +51,7 @@ if [ -n "${ALPINE_VERSION}" ]; then
5151
docker_args="${docker_args} --build-arg alpine_version=${ALPINE_VERSION}"
5252
fi
5353

54-
# When non-empty, becomes the build-arg java_version. e.g. "21.0.5_p11"
54+
# When non-empty, becomes the build-arg java_version. e.g. "21.0.6_p7"
5555
# Used to align base layers from https://github.com/orgs/openzipkin/packages/container/package/java
5656
if [ -n "${JAVA_VERSION}" ]; then
5757
docker_args="${docker_args} --build-arg java_version=${JAVA_VERSION}"

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Use latest version here: https://github.com/orgs/openzipkin/packages/container/package/java
99
# This is defined in many places because Docker has no "env" script functionality unless you use
1010
# docker-compose: When updating, update everywhere.
11-
ARG java_version=21.0.5_p11
11+
ARG java_version=21.0.6_p7
1212

1313
# We copy files from the context into a scratch container first to avoid a problem where docker and
1414
# docker compose don't share layer hashes https://github.com/docker/compose/issues/883 normally.

docker/test-images/zipkin-activemq/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Use latest version here: https://github.com/orgs/openzipkin/packages/container/package/java
99
# This is defined in many places because Docker has no "env" script functionality unless you use
1010
# docker-compose: When updating, update everywhere.
11-
ARG java_version=21.0.5_p11
11+
ARG java_version=21.0.6_p7
1212

1313
# We copy files from the context into a scratch container first to avoid a problem where docker and
1414
# docker compose don't share layer hashes https://github.com/docker/compose/issues/883 normally.
@@ -23,7 +23,7 @@ FROM ghcr.io/openzipkin/java:${java_version} as install
2323
WORKDIR /install
2424

2525
# Use latest version from https://activemq.apache.org/components/classic/download/
26-
ARG activemq_version=6.1.4
26+
ARG activemq_version=6.1.5
2727

2828
# Download the distribution
2929
RUN \
@@ -37,7 +37,7 @@ https://archive.apache.org/dist/activemq/${activemq_version}/apache-activemq-${a
3737
# which isn't in our JRE.
3838
FROM ghcr.io/openzipkin/java:${java_version} as zipkin-activemq
3939
LABEL org.opencontainers.image.description="ActiveMQ Classic on OpenJDK and Alpine Linux"
40-
ARG activemq_version=6.1.4
40+
ARG activemq_version=6.1.5
4141
LABEL activemq-version=$activemq_version
4242

4343
# Add HEALTHCHECK and ENTRYPOINT scripts into the default search path

docker/test-images/zipkin-cassandra/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Use latest version here: https://github.com/orgs/openzipkin/packages/container/package/java
99
# This is defined in many places because Docker has no "env" script functionality unless you use
1010
# docker-compose: When updating, update everywhere.
11-
ARG java_version=21.0.5_p11
11+
ARG java_version=21.0.6_p7
1212

1313
# We copy files from the context into a scratch container first to avoid a problem where docker and
1414
# docker compose don't share layer hashes https://github.com/docker/compose/issues/883 normally.
@@ -25,6 +25,7 @@ FROM ghcr.io/openzipkin/java:${java_version} as install
2525
# Use latest stable version: https://cassandra.apache.org/download/
2626
# This is defined in many places because Docker has no "env" script functionality unless you use
2727
# docker-compose: When updating, update everywhere.
28+
# TODO: revlocked, so probably put effort into 5.x instead
2829
ARG cassandra_version=4.1.7
2930
ENV CASSANDRA_VERSION=$cassandra_version
3031
WORKDIR /install

docker/test-images/zipkin-cassandra/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ cat > pom.xml <<-'EOF'
4747
<dependency>
4848
<groupId>net.java.dev.jna</groupId>
4949
<artifactId>jna</artifactId>
50-
<version>5.15.0</version>
50+
<version>5.16.0</version>
5151
</dependency>
5252
<!-- log4j not logback -->
5353
<dependency>
@@ -116,8 +116,8 @@ sed -i '/read_repair_chance/d' schema
116116
#
117117
# Merging makes adding Cassandra v5 easier and lets us share a common JRE 17+
118118
# with other test images even if Cassandra v4 will never officially support it.
119-
# https://github.com/apache/cassandra/blob/cassandra-4.0.11/conf/jvm11-server.options
120-
# https://github.com/apache/cassandra/blob/cassandra-5.0/conf/jvm17-server.options
119+
# https://github.com/apache/cassandra/blob/cassandra-4.1.7/conf/jvm11-server.options
120+
# https://github.com/apache/cassandra/blob/cassandra-5.0.3/conf/jvm17-server.options
121121
#
122122
# Finally, we allow security manager to prevent JRE 21 crashing when Cassandra
123123
# attempts ThreadAwareSecurityManager.install()

docker/test-images/zipkin-elasticsearch7/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Use latest version here: https://github.com/orgs/openzipkin/packages/container/package/java
99
# This is defined in many places because Docker has no "env" script functionality unless you use
1010
# docker-compose: When updating, update everywhere.
11-
ARG java_version=21.0.5_p11
11+
ARG java_version=21.0.6_p7
1212

1313
# We copy files from the context into a scratch container first to avoid a problem where docker and
1414
# docker compose don't share layer hashes https://github.com/docker/compose/issues/883 normally.
@@ -26,7 +26,7 @@ WORKDIR /install
2626
# Use latest 7.x version from https://www.elastic.co/downloads/past-releases#elasticsearch-no-jdk
2727
# This is defined in many places because Docker has no "env" script functionality unless you use
2828
# docker-compose: When updating, update everywhere.
29-
ARG elasticsearch7_version=7.17.25
29+
ARG elasticsearch7_version=7.17.27
3030

3131
# Download only the OSS distribution (lacks X-Pack)
3232
RUN \
@@ -41,7 +41,7 @@ COPY --from=scratch /config/ ./config/
4141
# production -jre base layer used by zipkin and zipkin-slim.
4242
FROM ghcr.io/openzipkin/java:${java_version} as zipkin-elasticsearch7
4343
LABEL org.opencontainers.image.description="Elasticsearch distribution on OpenJDK and Alpine Linux"
44-
ARG elasticsearch7_version=7.17.25
44+
ARG elasticsearch7_version=7.17.27
4545
LABEL elasticsearch-version=$elasticsearch7_version
4646

4747
# The full license is also included in the image at /elasticsearch/LICENSE.txt.

docker/test-images/zipkin-elasticsearch8/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Use latest version here: https://github.com/orgs/openzipkin/packages/container/package/java
99
# This is defined in many places because Docker has no "env" script functionality unless you use
1010
# docker-compose: When updating, update everywhere.
11-
ARG java_version=21.0.5_p11
11+
ARG java_version=21.0.6_p7
1212

1313
# We copy files from the context into a scratch container first to avoid a problem where docker and
1414
# docker compose don't share layer hashes https://github.com/docker/compose/issues/883 normally.
@@ -26,7 +26,7 @@ WORKDIR /install
2626
# Use latest 8.x version from https://www.elastic.co/downloads/past-releases#elasticsearch
2727
# This is defined in many places because Docker has no "env" script functionality unless you use
2828
# docker-compose: When updating, update everywhere.
29-
ARG elasticsearch8_version=8.16.0
29+
ARG elasticsearch8_version=8.17.2
3030

3131
# Download only the OSS distribution (lacks X-Pack)
3232
RUN \
@@ -41,7 +41,7 @@ COPY --from=scratch /config/ ./config/
4141
# production -jre base layer used by zipkin and zipkin-slim.
4242
FROM ghcr.io/openzipkin/java:${java_version} as zipkin-elasticsearch8
4343
LABEL org.opencontainers.image.description="Elasticsearch distribution on OpenJDK and Alpine Linux"
44-
ARG elasticsearch8_version=8.16.0
44+
ARG elasticsearch8_version=8.17.2
4545
LABEL elasticsearch-version=$elasticsearch8_version
4646

4747
# The full license is also included in the image at /elasticsearch/LICENSE.txt.

docker/test-images/zipkin-eureka/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Use latest version here: https://github.com/orgs/openeureka/packages/container/package/java
99
# This is defined in many places because Docker has no "env" script functionality unless you use
1010
# docker-compose: When updating, update everywhere.
11-
ARG java_version=21.0.5_p11
11+
ARG java_version=21.0.6_p7
1212

1313
# We copy files from the context into a scratch container first to avoid a problem where docker and
1414
# docker compose don't share layer hashes https://github.com/docker/compose/issues/883 normally.

0 commit comments

Comments
 (0)