Created
July 9, 2023 17:11
-
-
Save zeroidentidad/e463860e2e2da37c122fa0405d5d7157 to your computer and use it in GitHub Desktop.
alpine with go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:latest | |
RUN apk add --no-cache git make musl-dev go | |
# Configure Go | |
ENV GOROOT /usr/lib/go | |
ENV GOPATH /go | |
ENV PATH /go/bin:$PATH | |
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin | |
WORKDIR $GOPATH | |
CMD ["make"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment