Files
scroll/build/dockerfiles/intermediate/go-alpine-builder.Dockerfile
2024-04-22 14:35:50 +08:00

10 lines
262 B
Docker

ARG GO_VERSION=1.21
FROM golang:${GO_VERSION}-alpine
# ENV GOPROXY https://goproxy.cn,direct
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk add --no-cache gcc musl-dev linux-headers git ca-certificates openssl-dev