diff --git a/Dockerfile b/Dockerfile index c8372fe..6d84409 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM golang:1.18.6-alpine -RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories +FROM golang:1.18.7-alpine RUN apk --no-cache add git RUN apk --no-cache add gcc RUN apk --no-cache add libc-dev +RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories RUN go env -w GOPROXY=https://goproxy.io,direct RUN go env -w GOSUMDB=off \ No newline at end of file