Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade base image to Debian 10 ("buster") #287

Open
joakime opened this issue Aug 17, 2020 · 5 comments
Open

Upgrade base image to Debian 10 ("buster") #287

joakime opened this issue Aug 17, 2020 · 5 comments

Comments

@joakime
Copy link
Contributor

joakime commented Aug 17, 2020

The current image is based on Debian 9 ("stretch") which has now been superseded by Debian 10 ("buster").

From https://www.debian.org/releases/stretch/

Debian 9 has been superseded by Debian 10 (buster). Security updates have been discontinued as of July 6th, 2020.

We should update to Debian 10 ("buster") to get security updates, and also to stay current with openjdk-11 which is no longer receiving updates on stretch.

@gregw
Copy link
Contributor

gregw commented Aug 17, 2020

@joakime Last I asked we were not allowed to upgrade jetty-runtime to jdk-11 as that needed to be coordinated with the wider jdk-11.
However, if "buster" also supports jdk-8, then upgrading now would be a good step to be ready. @donmccasland Do you see any reason we can't do this?

@joakime
Copy link
Contributor Author

joakime commented Aug 17, 2020

The current image is based on FROM gcr.io/google-appengine/openjdk:8

It would be easy enough to base it FROM gcr.io/google-appengine/debian10:latest and just install openjdk-8-jdk-headless as the default.

@joakime
Copy link
Contributor Author

joakime commented Aug 17, 2020

Correction. Debian 10 ("buster") has no openjdk-8 package available.

https://packages.debian.org/buster/java/

Seems to only support openjdk-11 or newer.
We could install the archive from adoptopenjdk easily enough though.

@joakime
Copy link
Contributor Author

joakime commented Aug 17, 2020

So we are now in the predicament.

We cannot continue to use Debian 9 ("stretch") due to lack of security updates, and no support for openjdk-11.
We cannot upgrade to Debian 10 ("buster") due lack of Java 8 JDK packages.

Can we create a new branch of the jetty-runtime images? perhaps with a new label like jetty-runtime-11:latest (or jetty-runtime:11-latest?) which is Debian 10 ("buster") and OpenJDK 11?

@gregw
Copy link
Contributor

gregw commented Aug 17, 2020

@joakime again I don't believe we can make an official jdk-11 image until all others are ready to go to jdk-11. Surely there is a way to get a back port of jdk8 for debian 10? jdk8 is going to live forever!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants