appropriate / docker-jetty

Formerly the location of the Docker official image for Jetty
https://registry.hub.docker.com/_/jetty/
46 stars 46 forks source link

Jetty 9.3-jre8 uses Java version 10 #87

Closed daanottink closed 6 years ago

daanottink commented 6 years ago

All the latest Jetty 9.3-jre8 use Java 10. Alpine seems to work

viktorsteinwand commented 6 years ago

I've found this issue now as well. However, it looks like all latest JRE8 non Apline images have the same issue:

docker-compose.yml content:
...
    jetty:
        image: jetty:9.3-jre8
        ...

➜  docker-compose exec jetty java -version
openjdk version "10" 2018-03-20
OpenJDK Runtime Environment (build 10+46-Debian-2)
OpenJDK 64-Bit Server VM (build 10+46-Debian-2, mixed mode)

Using the alpine image did help in my case:

docker-compose.yml content:
...
    jetty:
        image: jetty:9.3-jre8-alpine
        ...

➜  docker-compose exec jetty java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (IcedTea 3.6.0) (Alpine 8.151.12-r0)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
daanottink commented 6 years ago

@viktorsteinwand downgrading to 9.3.21-jre8 worked for us

tianon commented 6 years ago

Looks like this is related to https://github.com/docker-library/openjdk/issues/180. 😞

tianon commented 6 years ago

Just to update further, we found the source of the issue, and are re-doing builds as quickly as the server can get through them. :heart:

tianon commented 6 years ago

This should have been resolved for several days now. :smile: :+1: