Skip to content

Commit 43a46bc

Browse files
Updates to Alpine 3.21.2 and Java 21.0.6_p7 (#94)
Signed-off-by: Adrian Cole <[email protected]>
1 parent 38e58d4 commit 43a46bc

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
matrix: # match with maven-enforcer-plugin rules in pom.xml
2424
include:
2525
- name: build-arg
26-
version: 21.0.5_p11
26+
version: 21.0.6_p7
2727
- name: implicit
2828
version: master
2929
steps:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# docker_parent_image is the base layer of full and jre image
77
#
88
# Use latest version here: https://github.com/orgs/openzipkin/packages/container/package/alpine
9-
ARG docker_parent_image=ghcr.io/openzipkin/alpine:3.20.3
9+
ARG docker_parent_image=ghcr.io/openzipkin/alpine:3.21.2
1010

1111
# java_version and java_home are hard-coded here to allow the following:
1212
# * `docker build https://github.com/openzipkin/docker-java.git`
@@ -17,7 +17,7 @@ ARG docker_parent_image=ghcr.io/openzipkin/alpine:3.20.3
1717
# When updating, also update the README
1818
# * Use current version from https://pkgs.alpinelinux.org/packages?name=openjdk21, stripping
1919
# the `-rX` at the end.
20-
ARG java_version=21.0.5_p11
20+
ARG java_version=21.0.6_p7
2121
ARG java_home=/usr/lib/jvm/java-21-openjdk
2222

2323
# We copy files from the context into a scratch container first to avoid a problem where docker and

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This is an internal base layer primarily used in [zipkin](https://github.com/ope
1515

1616
To try the image, run the `java -version` command:
1717
```bash
18-
$ docker run --rm ghcr.io/openzipkin/java:21.0.5_p11 -version
18+
$ docker run --rm ghcr.io/openzipkin/java:21.0.6_p7 -version
1919
openjdk version "21.0.4" 2024-07-16
2020
OpenJDK Runtime Environment (build 21.0.4+7-alpine-r0)
2121
OpenJDK 64-Bit Server VM (build 21.0.4+7-alpine-r0, mixed mode, sharing)
@@ -39,19 +39,19 @@ Build the [Dockerfile](Dockerfile) using the current version without the
3939
revision classifier from here:
4040
* https://pkgs.alpinelinux.org/packages?name=openjdk21
4141
```bash
42-
# Note 21.0.5_p11 not 21.0.5_p11-r2!
43-
./build-bin/build 21.0.5_p11
42+
# Note 21.0.6_p7 not 21.0.6_p7-r2!
43+
./build-bin/build 21.0.6_p7
4444
```
4545

4646
Next, verify the built image matches that version:
4747
```bash
4848
$ docker run --rm openzipkin/java:test -version
49-
openjdk version "21.0.5" 2024-10-15
50-
OpenJDK Runtime Environment (build 21.0.5+11-alpine-r0)
51-
OpenJDK 64-Bit Server VM (build 21.0.5+11-alpine-r0, mixed mode, sharing)
49+
openjdk version "21.0.6" 2025-01-21
50+
OpenJDK Runtime Environment (build 21.0.6+7-alpine-r0)
51+
OpenJDK 64-Bit Server VM (build 21.0.6+7-alpine-r0, mixed mode, sharing)
5252
```
5353

54-
To release the image, push a tag matching the arg to `build-bin/build` (ex `21.0.5_p11`).
54+
To release the image, push a tag matching the arg to `build-bin/build` (ex `21.0.6_p7`).
5555
This triggers a [GitHub Actions](https://github.com/openzipkin/docker-java/actions) job to push the image.
5656

5757
## java.lang.ClassNotFoundException

0 commit comments

Comments
 (0)