2023-04-18 11:30:56 +08:00
|
|
|
FROM golang:alpine
|
|
|
|
|
|
|
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tencent.com/g' /etc/apk/repositories \
|
2023-04-20 18:08:35 +08:00
|
|
|
&& apk --no-cache add gcompat gcc g++ openssh zsh git tmux curl make npm
|
2023-04-18 11:30:56 +08:00
|
|
|
|
|
|
|
COPY install-p10k.sh /tmp/install-p10k.sh
|
|
|
|
|
2023-04-20 18:08:35 +08:00
|
|
|
RUN go env -w GOPROXY=goproxy.cn \
|
2023-04-18 11:30:56 +08:00
|
|
|
&& go install github.com/swaggo/swag/cmd/swag@latest
|
|
|
|
|
|
|
|
WORKDIR /root
|