-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
Base on alpine linux instead of ubuntu #3
Comments
Totally agree with you - SIZE matters! It's crucial for the speed of deployment. To be honest, the reason why I use ubuntu instead of alpine as the base image, is because that I don't think alpine would meet all the complicated dependencies. Of course, that is only my presumption, I was too lazy to prove it. Thanks for your advice, I'll try it out this weekend. Currently I could think of 3 possible outcome:
|
Forgot to ask one thing @eliasbagley - apart from trying alpine image, can't you also try to always use the pulled image locally, instead of downloading it every time?
|
@eliasbagley I've tried using alpine base image, but with no luck, here is why. From the first dpkg --add-architecture i386
apt-get update -y
apt-get install -y libncurses5:i386 libc6:i386 libstdc++6:i386 lib32gcc1 lib32ncurses5 lib32z1 zlib1g:i386 Which in fact is trying to solve the problem described here:
While unfortunately according to here, you'll find that alpine doesn't have As a result, the answer would be "sorry, we can't use alpine as the base image at the moment". Thank you for your understanding. |
Any possibility for this? I'm using this image as part of a Gitlab CI workflow, and quite a big chunk of time is spent downloading the image each time. This could be sped up quite a bit if the base image were as minimal and small as possible. It would cut the base image size from about 188 MB to 5 MB.
The text was updated successfully, but these errors were encountered: