build: use python:x-slim base #18
No reviewers
Labels
No labels
automerge
backend
bug
ci/tooling
dependencies
documentation
duplicate
enhancement
feature
frontend
good first issue
help wanted
invalid
question
research
test-dependencies
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: marc/rotini#18
Loading…
Reference in a new issue
No description provided.
Delete branch "build/slimmer-docker-image"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Trims down the Dockerfile by using the
python:{version}-slim
base image.Initially,
ubuntu:jammy
was used to get a general image and Python was built from source on it. This made builds rather long. Using the specificpython
image has the right Python version baked in, thus quicker builds, andslim
keeps the image size as low as it can.Alpine variants were also considered, but ultimately yielded larger images.