作者 Administrator

更新 Dockerfile

正在显示 1 个修改的文件 包含 2 行增加2 行删除
FROM 192.168.0.243:5000/mmm/mmmopp:20200422 as builder
FROM 192.168.0.243:5000/mmm/mmmopp:v1 as builder
#FROM golang:1.13 as builder
ENV GOPROXY https://goproxy.cn
ENV GO111MODULE on
... ... @@ -17,7 +17,7 @@ COPY . .
RUN GOOS=linux CGO_ENABLED=0 go build -ldflags="-s -w" -o opp main.go
#FROM alpine:latest
FROM 192.168.0.243:5000/mmm/mmmopp:20200110
FROM 192.168.0.243:5000/mmm/mmmopp:v1
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& apk add --no-cache tzdata \
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
... ...