export GOPRIVATE=gitlab.batiao8.com && \
This commit is contained in:
parent
1489616be2
commit
367f92f55d
|
@ -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 && \
|
||||||
|
|
Loading…
Reference in New Issue