This commit is contained in:
jiangyong27 2024-08-09 15:24:17 +08:00
parent d3dc2faa77
commit d8e971ec74
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
FROM registry.cn-shanghai.aliyuncs.com/devcon/godev:v1.0.15
FROM registry.cn-shanghai.aliyuncs.com/devcon/godev:v1.0.18
ADD . /app/src
WORKDIR /app/src
RUN mkdir -p /app/bin /app/log
RUN export GOROOT=/usr/local/go1.18.2 && \
RUN export GOROOT=/usr/local/go1.21.4 && \
export GOPROXY=https://goproxy.cn && \
export GOPRIVATE=gitlab.batiao8.com && \
export PATH=$PATH:$GOROOT/bin && \