@@ -15,10 +15,10 @@ This is an internal base layer primarily used in [zipkin](https://github.com/ope
15
15
16
16
To try the image, run the ` java -version ` command:
17
17
``` bash
18
- $ docker run --rm ghcr.io/openzipkin/java:17.0.12_p7 -version
19
- openjdk version " 17.0.12 " 2024-07-16
20
- OpenJDK Runtime Environment (build 17.0.12+7 -alpine-r0)
21
- OpenJDK 64-Bit Server VM (build 17.0.12+7 -alpine-r0, mixed mode, sharing)
18
+ $ docker run --rm ghcr.io/openzipkin/java:17.0.13_p11 -version
19
+ openjdk version " 17.0.13 " 2024-10-15
20
+ OpenJDK Runtime Environment (build 17.0.13+11 -alpine-r0)
21
+ OpenJDK 64-Bit Server VM (build 17.0.13+11 -alpine-r0, mixed mode, sharing)
22
22
```
23
23
24
24
## Release process
@@ -39,26 +39,26 @@ Build the [Dockerfile](Dockerfile) using the current version without the
39
39
revision classifier from here:
40
40
* https://pkgs.alpinelinux.org/packages?name=openjdk17
41
41
``` bash
42
- # Note 17.0.12_p7 not 17.0.12_p7 -r2!
43
- ./build-bin/build 17.0.12_p7
42
+ # Note 17.0.13_p11 not 17.0.13_p11 -r2!
43
+ ./build-bin/build 17.0.13_p11
44
44
```
45
45
46
46
Next, verify the built image matches that version:
47
47
``` bash
48
48
$ docker run --rm openzipkin/java:test -version
49
- openjdk version " 17.0.12 " 2024-07-16
50
- OpenJDK Runtime Environment (build 17.0.12+7 -alpine-r0)
51
- OpenJDK 64-Bit Server VM (build 17.0.12+7 -alpine-r0, mixed mode, sharing)
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)
52
52
```
53
53
54
- To release the image, push a tag matching the arg to ` build-bin/build ` (ex ` 17.0.12_p7 ` ).
54
+ To release the image, push a tag matching the arg to ` build-bin/build ` (ex ` 17.0.13_p11 ` ).
55
55
This triggers a [ GitHub Actions] ( https://github.com/openzipkin/docker-java/actions ) job to push the image.
56
56
57
57
## java.lang.ClassNotFoundException
58
58
59
59
The image ending in ` -jre ` is stripped to only retain the minimal modules needed by Zipkin. This is
60
60
to make it as small as possible. If the ` zipkin ` or ` zipkin-slim ` images fail with a
61
- ` java.lang.ClassNotFoundException ` , it may be related to the modules linked in the [ Dockerfile] [ Dockerfile ] .
61
+ ` java.lang.ClassNotFoundException ` , it may be related to the modules linked in the [ Dockerfile] ( Dockerfile ) .
62
62
63
63
If the package begins with ` java. ` , ` sun. ` or ` com.sun. ` , it is likely a JRE module. To verify, use
64
64
` javap ` without any other options. If a result is printed, you need to link a corresponding module.
0 commit comments