Skip to content

Conversation

alexrashed
Copy link
Member

@alexrashed alexrashed commented Oct 4, 2023

Motivation

This PR upgrades the OS version of the Docker image from Debian Bullseye to Debian Bookworm.
The last upgrade was done with the release of version 2.1.0 in #8344 / #7876.
Since the Debian repositories for bookworm do not contain openjdk-11 anymore, I also switched the java-builder to use the eclipse-temurin:11 image.

Changes

  • The base image's OS has been upgraded from Debian Bullseye (oldstable) to Debian Bookworm (stable).
  • The java-builder stage has been replaced to use Eclipse Temurin image (because Debian Bookworm does not have OpenJDK in the repos anymore).
    • We are already using Eclipse Temurin in the Java installer if we need other Java versions (for BigData services).

Testing

  • Tested by building the image locally.
  • If all tests are green, we can be quite confident that everything works correctly.

Merge?

This PR contains some important changes:

  • Updates the base image from Debian Bullseye to Debian Bookworm.
    • This could have an implication for users which install any kind of packages in the Docker image.
  • Change the Java JDK from OpenJDK in the package repo to the Temurin build.
    • I think this should actually be a safe change.
    • Eclipse Temurin is based OpenJDK.

We should decide on when to merge this change. The last time (with the Debian upgrade from Buster to Bullseye), we didn't really see any issues among our user-base.

@alexrashed alexrashed added the semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases label Oct 4, 2023
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

LocalStack Community integration with Pro

       2 files  ±0         2 suites  ±0   1h 10m 55s ⏱️ - 8m 11s
2 254 tests ±0  1 753 ✔️ +2  501 💤 ±0  0  - 2 
2 255 runs  ±0  1 753 ✔️ +2  502 💤 ±0  0  - 2 

Results for commit f2a4985. ± Comparison against base commit 25d164e.

♻️ This comment has been updated with latest results.

@alexrashed alexrashed force-pushed the upgrade-debian-to-bookworm branch from 6168959 to 43d76f6 Compare October 6, 2023 11:48
@alexrashed alexrashed requested a review from dfangl October 6, 2023 12:14
@alexrashed alexrashed self-assigned this Oct 6, 2023
@coveralls
Copy link

coveralls commented Oct 6, 2023

Coverage Status

coverage: 82.937% (-0.04%) from 82.979% when pulling f2a4985 on upgrade-debian-to-bookworm into 25d164e on master.

Copy link
Member

@dfangl dfangl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@alexrashed alexrashed force-pushed the upgrade-debian-to-bookworm branch from 43d76f6 to 90469b8 Compare October 16, 2023 12:46
@alexrashed alexrashed marked this pull request as ready for review October 17, 2023 08:21
@alexrashed alexrashed force-pushed the upgrade-debian-to-bookworm branch from 90469b8 to 5f44fcd Compare October 17, 2023 08:28
@alexrashed alexrashed force-pushed the upgrade-debian-to-bookworm branch from 5f44fcd to f2a4985 Compare October 17, 2023 08:30
@alexrashed alexrashed requested a review from thrau as a code owner October 17, 2023 08:30
@alexrashed alexrashed merged commit 0d7088d into master Oct 17, 2023
@alexrashed alexrashed deleted the upgrade-debian-to-bookworm branch October 17, 2023 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants