Skip to content

golang: document how to make a "slim" cross #68

@tianon

Description

@tianon

If someone only wants one or two platforms and don't feel like they need the full golang:cross image, they can use something simple like:

FROM golang
RUN cd /usr/src/go/src && GOOS=windows GOARCH=amd64 ./make.bash --no-clean
RUN cd /usr/src/go/src && GOOS=darwin GOARCH=amd64 ./make.bash --no-clean

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions