go sdk2
This commit is contained in:
parent
d3dc2faa77
commit
d8e971ec74
|
@ -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
|
ADD . /app/src
|
||||||
WORKDIR /app/src
|
WORKDIR /app/src
|
||||||
|
|
||||||
RUN mkdir -p /app/bin /app/log
|
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 GOPROXY=https://goproxy.cn && \
|
||||||
export GOPRIVATE=gitlab.batiao8.com && \
|
export GOPRIVATE=gitlab.batiao8.com && \
|
||||||
export PATH=$PATH:$GOROOT/bin && \
|
export PATH=$PATH:$GOROOT/bin && \
|
||||||
|
|
Loading…
Reference in New Issue