From 6a7d0e7ebbc8f72731d97f5d0050316d95e50c7d Mon Sep 17 00:00:00 2001 From: evlic Date: Thu, 20 Apr 2023 18:08:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(go/dev):=20=E2=9C=A8=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/go/Dockerfile b/go/Dockerfile index 4610568..a9069af 100644 --- a/go/Dockerfile +++ b/go/Dockerfile @@ -1,12 +1,11 @@ FROM golang:alpine RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tencent.com/g' /etc/apk/repositories \ - && apk --no-cache add gcompat gcc g++ openssh zsh git tmux curl make + && apk --no-cache add gcompat gcc g++ openssh zsh git tmux curl make npm COPY install-p10k.sh /tmp/install-p10k.sh -RUN go env -w GONOSUMDB=lab.threathunter.cn \ - && go env -w GOPROXY=goproxy.cn \ +RUN go env -w GOPROXY=goproxy.cn \ && go install github.com/swaggo/swag/cmd/swag@latest WORKDIR /root \ No newline at end of file