Browse Source

goDockerfile

master
yinweiwen 1 year ago
parent
commit
5dbd891c9e
  1. 2
      gowork/Dockerfile

2
gowork/Dockerfile

@ -1,7 +1,7 @@
FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/golang:2.22-06-22 FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/golang:2.22-06-22
WORKDIR /app/ WORKDIR /app/
COPY . . COPY gowork/ .
RUN unset GOPROXY RUN unset GOPROXY
RUN go env -w GOPROXY=https://goproxy.cn RUN go env -w GOPROXY=https://goproxy.cn
RUN go env -w GO111MODULE=on RUN go env -w GO111MODULE=on

Loading…
Cancel
Save