feat(go/dev): update

This commit is contained in:
evlic 2023-04-20 18:08:35 +08:00
parent ac354b69d5
commit 6a7d0e7ebb

View File

@ -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