Docker images for different archs
Is your feature request related to a problem? Please describe.
According to https://hub.docker.com/r/nicolargo/glances/tags?page=1&ordering=last_updated is only the dev tag available for different architectures. I'm specifically interested in latest-alpine for linux/arm/v6
Describe the solution you'd like
Have not only the dev tag for different archs.
Describe alternatives you've considered
Currently I'm using the dev tag.
Additional context
@nicolargo As you already have travis integration you could use https://docs.travis-ci.com/user/build-stages/share-docker-image/ as an extension. Your dev images are already multi-arch, couldn't you copy the workflow?
@escoand the CI pipeline used to generate Docker images is based on Github, not Travis (see https://github.com/nicolargo/glances/blob/develop/.github/workflows/main.yml).
@BlackDark Can you have a look on the @escoand request ?
Thanks !
Will do
@escoand @nicolargo What do we want to achieve with the alpine image:
- should be as minimal as possible? Problem is that this will make it incompatible with multiple additional plugins which could be installed with glances
- Include all dependencies needed for installing the optional dependencies and be able to use them?
@BlackDark I would like to have it similar to https://github.com/nicolargo/glances/blob/develop/docker-files/Dockerfile but without all the gcc thingy...
Currently testing the image sizes between debian based and alpine based with all plugins installed. So far i think it wouldn't be much benefit using alpine for this case. Image does not differ much and python is not the best solution with alpine base some article.
So i think i would stay with the default image. Could try to remove unnecessary packages like gcc after successful builds maybe.
Prod image based on debian:

Try including all deps for alpine and install:

I've no strong feelings against debian. My request was just to have a small stable image for my productive usecase. So I'm completly fine with your result so far.
@BlackDark Thanks.
Hey @escoand, made some progress in reducing the image sizes :)
Would you like to test both? You can find those under my user in docker hub blackdark93/glances

I'm quite impressed by the final size. Fantastic and both are working with my simple setup.
Closing as we have multi-arch images now.