Switch from Ubuntu to Debian#292
Conversation
|
This is somewhat of an indirect way to help resolve #290 (and issues like it), since the Debian base images are proactively rebuilt specifically to explicitly cause downstream rebuilds (unlike Ubuntu). I also couldn't find an official recommendation (or dis-recommendation) for a base distribution from the upstream project, so this seems OK from an upstream perspective. All the old "jammy" labelled tags will stay available (just no longer "supported"), so if this ends up causing any breakage, there's a trivial escape hatch while the root cause is found and resolved / worked around. |
$ diff -u <(bashbrew cat cassandra) <(bashbrew cat <(./generate-stackbrew-library.sh))
--- /dev/fd/63 2026-01-13 16:03:29.169381190 -0800
+++ /dev/fd/62 2026-01-13 16:03:29.169381190 -0800
@@ -1,17 +1,17 @@
Maintainers: Tianon Gravi <admwiggin@gmail.com> (@tianon), Joseph Ferguson <yosifkit@gmail.com> (@yosifkit)
GitRepo: https://github.com/docker-library/cassandra.git
-Tags: 5.0.6, 5.0, 5, latest, 5.0.6-jammy, 5.0-jammy, 5-jammy, jammy
+Tags: 5.0.6, 5.0, 5, latest, 5.0.6-bookworm, 5.0-bookworm, 5-bookworm, bookworm
Architectures: amd64, arm32v7, arm64v8, ppc64le, s390x
-GitCommit: 6d75217eb8c69b8d9dd94766b781d829a56fbd2d
+GitCommit: d37a249ee6979d56bf8b47105fc38b7461bfcfa5
Directory: 5.0
-Tags: 4.1.10, 4.1, 4, 4.1.10-jammy, 4.1-jammy, 4-jammy
+Tags: 4.1.10, 4.1, 4, 4.1.10-bookworm, 4.1-bookworm, 4-bookworm
Architectures: amd64, arm32v7, arm64v8, ppc64le, s390x
-GitCommit: 793ea6b2a8097d629252fe77585775443b53e4c3
+GitCommit: d37a249ee6979d56bf8b47105fc38b7461bfcfa5
Directory: 4.1
-Tags: 4.0.19, 4.0, 4.0.19-jammy, 4.0-jammy
+Tags: 4.0.19, 4.0, 4.0.19-bookworm, 4.0-bookworm
Architectures: amd64, arm32v7, arm64v8, ppc64le, s390x
-GitCommit: 23531063a5aefaa47cbd5166c7d02ae75c44c262
+GitCommit: d37a249ee6979d56bf8b47105fc38b7461bfcfa5
Directory: 4.0 |
Specifically, from Ubuntu Jammy (22.04; EOL in 2027) to Debian Bookworm (12; EOL in 2028). Ideally we would upgrade to Debian Trixie (13; EOL in 2030), but that gets us too new of a Python for `cqlsh` 😔
Somewhat ironically, the server works just fine (I mean, it's "just" Java, after all), but the client tools ( |
| } | ||
| } | ||
| } | ||
| ' |
There was a problem hiding this comment.
I don't love the idea of expanding the hacky scraping of the Dockerfile for data when we could improve versions.json so that it could be used for both templates and generate-stackbrew-library.sh, but I guess that is something for further improvement later.
There was a problem hiding this comment.
These changes are all stolen from drupal (so that I could avoid boiling the ocean) 😅
|
The switch to Ubuntu was driven by necessity rather than choice (#199). Debian is our distro of choice. |
Changes: - docker-library/cassandra@7c5b127: Switch from Ubuntu to Debian (docker-library/cassandra#292) - docker-library/cassandra@a02e9c1: Remove more dead code
Changes: - docker-library/cassandra@7c5b127: Switch from Ubuntu to Debian (docker-library/cassandra#292) - docker-library/cassandra@a02e9c1: Remove more dead code Co-authored-by: Docker Library Bot <doi+docker-library-bot@docker.com>
Specifically, from Ubuntu Jammy (22.04; EOL in 2027) to Debian Bookworm (12; EOL in 2028).
Ideally we would upgrade to Debian Trixie (13; EOL in 2030), but that gets us too new of a Python for
cqlsh😔