mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 12:32:25 +00:00
Modify dockerfile
This commit is contained in:
+3
-1
@@ -7,7 +7,9 @@ ENV GOPROXY=https://goproxy.io GOPATH=/gopath PATH="${PATH}:/usr/local/go/bin"
|
||||
ARG GO_VERSION=1.13.3
|
||||
|
||||
# 安装 golang 1.13.3
|
||||
RUN wget "https://dl.google.com/go/go$GO_VERSION.linux-amd64.tar.gz" && \
|
||||
RUN yum install -y wget && \
|
||||
yum install -y wqy-microhei-fonts wqy-zenhei-fonts && \
|
||||
wget "https://dl.google.com/go/go$GO_VERSION.linux-amd64.tar.gz" && \
|
||||
rm -rf /usr/local/go && \
|
||||
tar -C /usr/local -xzf "go$GO_VERSION.linux-amd64.tar.gz" && \
|
||||
rm -rf *.tar.gz && \
|
||||
|
||||
Reference in New Issue
Block a user