Skip to content
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

'make' on alpine #119

Closed
atomi opened this issue Nov 17, 2016 · 5 comments
Closed

'make' on alpine #119

atomi opened this issue Nov 17, 2016 · 5 comments

Comments

@atomi
Copy link

atomi commented Nov 17, 2016

any thoughts on adding make on the alpine tag considering it wont add much to the size and the wheezy tag includes it as well.

@tianon
Copy link
Member

tianon commented Dec 10, 2016

For many/most users, it isn't necessary, and it cannot be removed after the fact, so we intentionally try to keep the Alpine image as slim as possible.

See also https://github.com/docker-library/docs/blob/7a1edc542ec7d17626ec5cee87e87ed99da71afb/golang/README.md#golangalpine, specifically:

To minimize image size, it's uncommon for additional related tools (such as git or bash) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the alpine image description for examples of how to install packages if you are unfamiliar).

@atomi
Copy link
Author

atomi commented Dec 10, 2016

Yeah I realize keeping the alpine image as slim as possible would actually make it more useful to the most people. It was a bit selfish of a request. Thanks for the response!

@atomi atomi closed this as completed Dec 10, 2016
@tianon
Copy link
Member

tianon commented Dec 10, 2016

Your understanding is appreciated ❤️ ❤️

@taadis
Copy link

taadis commented Nov 14, 2017

For

To minimize image size, it's uncommon for additional related tools (such as git or bash) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the alpine image description for examples of how to install packages if you are unfamiliar).

I think the minimize image size must be whole, but git deps not exitis in golang:alpine, it is not whole, because go get not work in golang:alpine.
so, suggest add git deps in golang:alpine.

@miry
Copy link

miry commented Jan 15, 2018

The sample golang Dockerfile: https://github.com/pubnative/docker-images/blob/master/oncall-sync/Dockerfile

You see, we use mostly golang only for build binaries and uses pure alpine to run it. So it should be as @taadis be whole as golang tool and have similar packages as other builds in golang dockers tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants