feat(go/dev): ✨ update
This commit is contained in:
parent
ac354b69d5
commit
6a7d0e7ebb
@ -1,12 +1,11 @@
|
|||||||
FROM golang:alpine
|
FROM golang:alpine
|
||||||
|
|
||||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tencent.com/g' /etc/apk/repositories \
|
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
|
COPY install-p10k.sh /tmp/install-p10k.sh
|
||||||
|
|
||||||
RUN go env -w GONOSUMDB=lab.threathunter.cn \
|
RUN go env -w GOPROXY=goproxy.cn \
|
||||||
&& go env -w GOPROXY=goproxy.cn \
|
|
||||||
&& go install github.com/swaggo/swag/cmd/swag@latest
|
&& go install github.com/swaggo/swag/cmd/swag@latest
|
||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
Loading…
Reference in New Issue
Block a user