Fork me on GitHub
Ivar Refsdal13:01:59

PS @macrobartfast It seems that the java:-docker image is discontinued and on dockerhub the java page redirects to openjdk.

$ docker run -it java:8-alpine /usr/bin/java -version
openjdk version "1.8.0_111-internal"
OpenJDK Runtime Environment (build 1.8.0_111-internal-alpine-r0-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)

$ docker run -it openjdk:8-alpine /usr/bin/java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (IcedTea 3.12.0) (Alpine 8.212.04-r0)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
So you may want to start using openjdk: in Dockerfiles

👍 4
Ivar Refsdal13:01:58

Ah, I see that lein new pedestal-service my-project also uses FROM java:... Edit: I opened an issue:


Thanks for the issue @ivar.refsdal!