Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Alpine based Docker image (experimental) #570

Merged
merged 5 commits into from
Nov 5, 2023
Merged

Conversation

sissbruecker
Copy link
Owner

Adds a Docker image that is based on Alpine Linux. This image is significantly smaller in size than the default Debian based image, resulting in a smaller download and less disk space required. According to Docker Hub, the Alpine based image is about 45 MB in compressed size compared to 130 MB for the Debian based image. There might be minor improvements in memory usage as well.

To use the new image, use the latest-alpine tag instead of latest.

Warning

The image is currently considered experimental in order to gather feedback and iron out any issues. Only use it if you are comfortable running experimental software or want to help out with testing. While there should be no issues with creating new installations, there might be issues when migrating existing installations. If you plan to migrate your existing installation, make sure to create proper backups first.

@sissbruecker sissbruecker merged commit 87020de into master Nov 5, 2023
2 checks passed
@sissbruecker sissbruecker deleted the feat/alpine-image branch November 5, 2023 13:18
@onjour
Copy link

onjour commented Nov 24, 2023

That's an interesting experiment, I am wondering though if it makes sense to spare 85MB with the cost of storage nowadays? How much is it supposed to improve on memory usage?

@jonathan-s
Copy link
Contributor

@sissbruecker Worth considering not using alpine based on this blog post. https://pythonspeed.com/articles/alpine-docker-python/

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.

None yet

3 participants