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

Switch Base Image from Ubuntu to Alpine to Reduce Image Size #286

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

MDeLuise
Copy link
Owner

Hey Plant-it community!

I've made a significant change to the Docker configuration by switching the base image from Ubuntu to Alpine. This change is aimed at reducing the overall size of the Docker image and improving efficiency.

What's new?

  • Base Image Change: The Dockerfile now uses alpine:3.20.2 instead of ubuntu:24.04.
  • Image Size Reduction: This switch has considerably reduced the image size.

Why is it important?

  • Smaller Image Size: Using Alpine, which is a smaller base image compared to Ubuntu, helps in reducing the Docker image size. This not only saves disk space but can also improve download and deployment times.
  • Resource Efficiency: A smaller image size can lead to more efficient use of resources, which is particularly beneficial for environments with limited resources, such as Raspberry Pi or VPS setups.

How to Use?

The change will be implemented in the next project release.



Cheers and happy planting! 🌿🌼

Copy link

📝 Coverage Report For Server Service

Overall Project 50.4% 🟢

There is no coverage information present for the Files changed

@MDeLuise MDeLuise merged commit d81aaee into main Aug 19, 2024
3 checks passed
@MDeLuise MDeLuise deleted the improve-alpine branch August 19, 2024 09:18
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.

1 participant