Docker - upgrade to Debian Buster#6833
Conversation
docker/bootstrap/Dockerfile.common
Outdated
There was a problem hiding this comment.
Not sure if we need this at all. I've only backported it from #6129
There was a problem hiding this comment.
@harshit-gangal should be ok to change the jdk version from openjdk-8 to default-jdk?
There was a problem hiding this comment.
we need to keep it at jdk8 otherwise java code will not compile. Any reason for changing this?
There was a problem hiding this comment.
we need to keep it at jdk8 otherwise java code will not compile. Any reason for changing this?
Unfortunately there isn't openjdk-8-jdk available for Buster.
In stretch, default-jdk points to the Java runtime, or Java compatible development kit recommended for this architecture, which is openjdk-8-jdk for amd64 (see doc).
In buster, default-jdk points to the Java runtime, or Java compatible development kit recommended for this architecture, which is openjdk-11-jdk for amd64 (see doc).
docker/orchestrator/build.sh
Outdated
There was a problem hiding this comment.
This is technically not needed as orchestrator has its own build process but I think it's 👍 if we align the versions across the whole repo.
There was a problem hiding this comment.
libperconaserverclient18.1-dev doesn't exist in Percona/buster
Signed-off-by: Guido Iaquinti <giaquinti@slack-corp.com>
|
@dkhenry wdyt? Looks fine to me but I'd like to defer to you for final approval. |
|
This is hitting the zookeeper error on build. Working through that now to finish testing |
|
@guidoiaquinti can you cherry-pick this PR into release-8.0? we should do the same for #6792 once that is merged. |
Description
Upgrade Docker images from Debian 9 (stretch) to Debian 10 (Buster). This PR was highly inspired by #6129 (happy to close this if Morgan wants to complete his PR).
This PR also includes the following changes:
openjdk-8-jdktodefault-jdkWhy
Debian Stretch is EOL since 2020-07-06 and Buster was released in July 2019. This deprecation is also blocking us from upgrading to go 1.15 #6792
Test plan
I'm not sure if it's enough but the build of the bootstrap images completes ✅
Details