Last active
December 17, 2020 21:24
-
-
Save zrhoffman/e624197b3b9e764bbf97b19257a12f78 to your computer and use it in GitHub Desktop.
linux/arm64 golang on alpine
This file contains hidden or 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:3.12 | |
RUN ln -s lib lib64 && \ | |
ln -s ld-musl-x86_64.so.1 lib/ld-linux-x86-64.so.2 | |
RUN set -o pipefail && \ | |
wget -O- https://golang.org/dl/go1.15.6.linux-amd64.tar.gz | \ | |
tar xzC usr/local | |
ENV PATH=${PATH}:/usr/local/go/bin \ | |
GOPATH=/go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment