Switch Docker base file from alpine to python #14

Open
opened 2023-07-17 14:53:44 +02:00 by homer77 · 1 comment
Owner

As https://pythonspeed.com/articles/alpine-docker-python/ points out using alpine images as base for Docker files hosting python projects seems not to be a good choice.

It says that images become bigger, slower and as far as PyPI is concerned much more error prone.
So I should maybe change the base image to the python:<version>-slim image.

As https://pythonspeed.com/articles/alpine-docker-python/ points out using alpine images as base for Docker files hosting python projects seems not to be a good choice. It says that images become bigger, slower and as far as PyPI is concerned much more error prone. So I should maybe change the base image to the `python:<version>-slim` image.
homer77 added the
enhancement
docker
labels 2023-07-17 14:54:11 +02:00
homer77 self-assigned this 2023-07-17 14:54:20 +02:00
Author
Owner

Tried to use the slim image as base but because of the ffmpeg dependency the build gets really huge as it installs the whole graphical and audio systems. And building takes a looooong time. Seems like I could also use the python or ubuntu images then.

As I have the alpine variant running I stick to that for the moment.

Tried to use the slim image as base but because of the ffmpeg dependency the build gets really huge as it installs the whole graphical and audio systems. And building takes a looooong time. Seems like I could also use the python or ubuntu images then. As I have the alpine variant running I stick to that for the moment.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: homer77/FritzAB2Matrix#14
No description provided.