export GOPRIVATE=gitlab.batiao8.com && \

This commit is contained in:
jiangyong27 2024-01-22 22:51:52 +08:00
parent 1489616be2
commit 367f92f55d
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ RUN mkdir -p /app/bin /app/log
RUN export GOROOT=/usr/local/go1.18.2 && \ RUN export GOROOT=/usr/local/go1.18.2 && \
export GOPROXY=https://goproxy.cn && \ export GOPROXY=https://goproxy.cn && \
export GOPRIVATE=gitlab.batiao8.com && \
export PATH=$PATH:$GOROOT/bin && \ export PATH=$PATH:$GOROOT/bin && \
go mod tidy && \ go mod tidy && \
go build cmd/enterprise.go && \ go build cmd/enterprise.go && \