From 7b24004a9da45a80579cbab8665e1565ccc0ea9e Mon Sep 17 00:00:00 2001 From: xkrfer Date: Sat, 26 Mar 2022 18:15:07 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Dockerfile=E4=B8=AD=E6=8D=A2?= =?UTF-8?q?=E6=88=90=E4=B8=83=E7=89=9B=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9fcc8aa..6874d2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,8 @@ FROM golang AS gorush WORKDIR /push RUN git clone https://github.com/appleboy/gorush.git --depth=1 \ + && go env -w GO111MODULE=on \ + && go env -w GOPROXY=https://goproxy.cn,direct \ && cd gorush \ && go install \ && go build -o ../bin/gorush