genuinetools / img

Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.
https://blog.jessfraz.com/post/building-container-images-securely-on-kubernetes/
MIT License
3.89k stars 230 forks source link

Alpine version installs 400 megabytes of dependencies #259

Open AFakeman opened 5 years ago

AFakeman commented 5 years ago

Suggested command apk add img --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing installs gcc and go, along with some other packages, and this FS layer turns out to be more than 400 megabytes. I doubt there is need for compilers in order to install a binary.

issue-label-bot[bot] commented 5 years ago

Issue-Label Bot is automatically applying the label enhancement to this issue, with a confidence of 0.62. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

oxr463 commented 4 years ago

That is because the APKBUILD requires the go package which depends on gcc.

This issue should be brought up with the Alpine Linux developers, since that is how they handle golang in their distribution.

Otherwise, I would recommend downloading the static binaries provided under releases.