Skip to content

Conversation

@emmaai
Copy link
Contributor

@emmaai emmaai commented Feb 28, 2025

WIP

@emmaai emmaai force-pushed the major_upgrade_in_progress branch from 42463bc to f368d44 Compare May 30, 2025 06:45
@emmaai emmaai changed the title Major upgrade with ubuntu=24.04 and python=3.12 Major upgrade with debian=12 and python=3.12 May 30, 2025
@pjonsson
Copy link
Contributor

Most other odc repositories seem to use Ubuntu, what caused the switch to Debian for this repository?

@emmaai
Copy link
Contributor Author

emmaai commented Jun 3, 2025

the trigger point is a) ubuntu 24.04 bloated too much, and b) mamba image doesn't differentiate with/out cuda since 24.04, which bloated the image even more.
fundamental reasons a) the docker image is only for production, not for extension of user case, unlike other packages/images, given this presumption b) Debian is leaner, faster, safer and compatible enough for production purposes.

@pjonsson
Copy link
Contributor

pjonsson commented Jun 3, 2025

b) Debian is leaner, faster, safer and compatible enough for production purposes.

If you haven't already done it, you might want to run Trivy or some other security scanner on the corresponding Ubuntu/Debian images for this PR and compare the results. A couple of years ago (sometime during Q2-Q3 in 2023), I did an apples to apples comparison for some other projects between Ubuntu LTS-based images and Debian-based images, and the Ubuntu LTS-based images had fewer vulnerabilities because Canonical were more inclined to provide security-updates for the packages. I haven't had time to make any comparison after that, so things might have changed in the last couple of years.

@emmaai
Copy link
Contributor Author

emmaai commented Jun 3, 2025 via email

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

Successfully merging this pull request may close these issues.

3 participants