Skip to content

Purpose of alpine images #211

Closed
Closed
@palsivertsen

Description

@palsivertsen

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:

$ docker run --rm -it golang:1.10-alpine sh -c "go get github.com/palsivertsen/sse"
go: missing Git command. See https://golang.org/s/gogetcmd
package github.com/palsivertsen/sse: exec: "git": executable file not found in $PATH

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions