12 lines
372 B
Docker
12 lines
372 B
Docker
|
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
|
||
|
|
||
|
COPY install-p10k.sh /tmp/install-p10k.sh
|
||
|
|
||
|
RUN go env -w GONOSUMDB=lab.threathunter.cn \
|
||
|
&& go env -w GOPROXY=goproxy.cn \
|
||
|
&& go install github.com/swaggo/swag/cmd/swag@latest
|
||
|
|
||
|
WORKDIR /root
|