FROM golang:alpine
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
&& apk add --update --no-cache git
&& mkdir -p "go env GOROOT/src/golang.org/x/crypto"
&& git clone https://github.com/golang/crypto.git "`go env GOROOT`/src/golang.org/x/crypto"
CMD ["go", "env"]
Content type
Image
Digest
Size
123.1 MB
Last updated
over 8 years ago
docker pull bokee/golang