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