-
Notifications
You must be signed in to change notification settings - Fork 515
Purpose of alpine images #211
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
Comments
See the following note from the image description:
|
So to elaborate a little bit, if you need Additionally, if your application uses a |
See https://github.com/tianon/rawdns/blob/c08783223d7b01766cbe2b2f7ed70f8a69653cc1/Dockerfile.cross for an example |
So alpine version mainly for use when compiling? In my case I was trying to use it for things that require the full go toolchain, like go get, dep, etc. But I guess it's faster to use the standard image, than downloading additional tools inside the alpine image. |
"apk add --no-cache git" finishes very quickly, as does "apk del git".
That's why they aren't included (they're quick _and_ trivial for users of
the image to install, but if we include them by default, they're impossible
to uninstall).
|
When experimenting with different images for my build pipelines I noticed that the golang alpine images does not support some built in tools like
go get
:This is true for golang alpine image versions 1.5 - 1.10 which made me wonder what the purpose of the alpine images are if you can't use them to compile code without predownloading dependencies? Shouldn't it at least be a golang alpine image that supports the full go toolchain?
Sort of relates to #209
The text was updated successfully, but these errors were encountered: