Skip to content

Commit 8f616e8

Browse files
Updates to Alpine 3.21.2 and Java 17.0.14_p7 (#95)
Signed-off-by: Adrian Cole <[email protected]>
1 parent 5d1f3f9 commit 8f616e8

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: 17.0.13_p11
26+
version: 17.0.14_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=openjdk17, stripping
1919
# the `-rX` at the end.
20-
ARG java_version=17.0.13_p11
20+
ARG java_version=17.0.14_p7
2121
ARG java_home=/usr/lib/jvm/java-17-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:17.0.13_p11 -version
18+
$ docker run --rm ghcr.io/openzipkin/java:17.0.14_p7 -version
1919
openjdk version "17.0.13" 2024-10-15
2020
OpenJDK Runtime Environment (build 17.0.13+11-alpine-r0)
2121
OpenJDK 64-Bit Server VM (build 17.0.13+11-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=openjdk17
4141
```bash
42-
# Note 17.0.13_p11 not 17.0.13_p11-r2!
43-
./build-bin/build 17.0.13_p11
42+
# Note 17.0.14_p7 not 17.0.14_p7-r2!
43+
./build-bin/build 17.0.14_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 "17.0.13" 2024-10-15
50-
OpenJDK Runtime Environment (build 17.0.13+11-alpine-r0)
51-
OpenJDK 64-Bit Server VM (build 17.0.13+11-alpine-r0, mixed mode, sharing)
49+
openjdk version "17.0.14" 2025-01-21
50+
OpenJDK Runtime Environment (build 17.0.14+7-alpine-r0)
51+
OpenJDK 64-Bit Server VM (build 17.0.14+7-alpine-r0, mixed mode, sharing)
5252
```
5353

54-
To release the image, push a tag matching the arg to `build-bin/build` (ex `17.0.13_p11`).
54+
To release the image, push a tag matching the arg to `build-bin/build` (ex `17.0.14_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)