conan-docker-tools icon indicating copy to clipboard operation
conan-docker-tools copied to clipboard

Expanding Modern images to include base Alpine distro

Open prince-chrismc opened this issue 3 years ago • 6 comments

Considering the rapid shift to cloud, new software being built for Alpine... does the approach you've taken carry through to other "base distros"

I'm really a big fan of Alpine and I mentioned it to @SSE4 some days ago, that we could consider building for Alpine as well. Not sure if the approach in CCI would be to cross-compile or use a new collection of docker images based in Alpine. In this repo it would make a lot of sense to provide images for Alpine using the same approach. BUT, let's finish with the Ubuntu-based ones, probably much more needed, and then we can think about Alpine. @prince-chrismc , would you mind open an issue? It is not something we can work on right now, but if someone using this same approach wants to contribute... 😃

Originally posted by @jgsogo in https://github.com/conan-io/conan-docker-tools/issues/267#issuecomment-856773997

prince-chrismc avatar Jun 08 '21 13:06 prince-chrismc

We can create a simple Docker image with conan client installed on Alpine.

Using Alpine as base image would be possible, but there are some considerations, like the glibc version and LTS support. We also need to install a bunch of system packages which should be available. We know they are available on Ubuntu, but need to check if they are available for Alpine.

uilianries avatar Apr 21 '22 07:04 uilianries

It would be amazing if we only need to change these two lines: https://github.com/conan-io/conan-docker-tools/blob/c006112c83d9df383f709ada09e307836e4bb90b/modern/.env#L29 😄

jgsogo avatar Apr 21 '22 07:04 jgsogo

Alpine does not use apt, but apk instead: https://pkgs.alpinelinux.org/packages

Still, I think it's a valid idea. We choose Ubuntu in the past (2016) due its popularity. Now we have better options, including Alpine.

uilianries avatar Apr 21 '22 09:04 uilianries

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 25 '22 21:05 stale[bot]

It would be great to have a more lightweight docker image rather then ubuntu

AndreyMlashkin avatar Aug 16 '22 13:08 AndreyMlashkin

The main purpose of the images in this repository is to serve ConanCenter. As long as that requirement is satisfied I don't mind building more images using other distributions... but keeping complexity under control, we have to maintain this repository and it is on the critical path for ConanCenter.

jgsogo avatar Aug 17 '22 08:08 jgsogo

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 19 '23 09:02 stale[bot]

This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.

stale[bot] avatar May 20 '23 11:05 stale[bot]