export GOPRIVATE=gitlab.batiao8.com && \
This commit is contained in:
parent
1489616be2
commit
367f92f55d
|
@ -6,7 +6,8 @@ RUN mkdir -p /app/bin /app/log
|
|||
|
||||
RUN export GOROOT=/usr/local/go1.18.2 && \
|
||||
export GOPROXY=https://goproxy.cn && \
|
||||
export PATH=$PATH:$GOROOT/bin && \
|
||||
export GOPRIVATE=gitlab.batiao8.com && \
|
||||
export PATH=$PATH:$GOROOT/bin && \
|
||||
go mod tidy && \
|
||||
go build cmd/enterprise.go && \
|
||||
mv enterprise /app/bin && \
|
||||
|
|
Loading…
Reference in New Issue