Skip to content

Switch images to Alpine

Advantages

Alpine Linux has a new major release ever semester in May and November, which is brings more up-to-date dependencies.

Alpine Linux images are much more lightweight.

Reason why I choose Debian

When I first wanted to build container with Alpine, I did not pursue further since I thought it was based on the not very free software Android APK, which is an other package manager with the same name 😃

Initial reason for introducing Alpine Linux

Pendulum v3.0 didn’t provide Python 3.13 wheels back at that time, where Rust tool chain was therefore needed for building the wheel. On Debian 12, Rust tool chain was too old, and Pendulum couldn’t be build, because it uses new Rust syntax.

I first performed tests with the 3.13 image. Once it looked stable, I switched it to Alpine Linux.

Todos

  • Requirement for default image (v3.12): Make poetry image standalone (clients/python/silkaj#493)
  • Switch maintained images to Alpine
    • Done for 3.13 and 3.14. Remainings: 3.10, 3.11, 3.12
    • one by one by introducing and dropping support for Python version
    • all at once in a bulk manner
  • Update Readme
Edited by Moul
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information