This repository has been archived by the owner on Sep 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Thin image #7
Comments
Hi @md5, I simply have no build pipeline for that available so far. I hoped for some Docker native solution to this problem as proposed here:
Although this discussion is going on for over a year, nothing really materialized yet. That being said, I've planned to build small images for some go project we built, but didn't get to it yet. So will keep this open until we have a solution. |
Sounds good. Thanks for the response. I've been patiently waiting for moby/moby#7115 or something like it as well. |
Hi @md5, I switched to alpine linux for the base image and run everything in one step than cleans up afterwards. This brings down the image size to 27.01MB MB which should be good for now :) |
Thanks @discordianfish 👍 |
amolenaar
pushed a commit
to wehkamp/docker-prometheus-container-exporter
that referenced
this issue
Aug 22, 2016
Correct information in samples
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would be cool if there were a thinner
container-exporter
image. Thego:onbuild
base is currently 514MB and the layer that does thego-wrapper download
is 72MB. The layer that does thego install
itself is only 16MB, so I suspect a resulting thin image could be around that size.The
swarm
image is a good example of this pattern: https://github.com/docker/swarm-library-image/blob/master/DockerfileI've also created a couple of them myself: https://github.com/synctree/docker-logstash-forwarder https://github.com/md5/docker-gen/tree/static-build-image
The text was updated successfully, but these errors were encountered: