正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
1 | -FROM 192.168.0.243:5000/mmm/mmmopp:v1 as builder | 1 | +FROM 192.168.0.243:5000/mmm/mmmopp:base as builder |
2 | #FROM golang:1.13 as builder | 2 | #FROM golang:1.13 as builder |
3 | ENV GOPROXY https://goproxy.cn | 3 | ENV GOPROXY https://goproxy.cn |
4 | ENV GO111MODULE on | 4 | ENV GO111MODULE on |
@@ -17,7 +17,7 @@ COPY . . | @@ -17,7 +17,7 @@ COPY . . | ||
17 | RUN GOOS=linux CGO_ENABLED=0 go build -ldflags="-s -w" -o opp main.go | 17 | RUN GOOS=linux CGO_ENABLED=0 go build -ldflags="-s -w" -o opp main.go |
18 | 18 | ||
19 | #FROM alpine:latest | 19 | #FROM alpine:latest |
20 | -FROM 192.168.0.243:5000/mmm/mmmopp:v1 | 20 | +FROM 192.168.0.243:5000/mmm/mmmopp:base |
21 | RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \ | 21 | RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \ |
22 | && apk add --no-cache tzdata \ | 22 | && apk add --no-cache tzdata \ |
23 | && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ | 23 | && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ |
-
请 注册 或 登录 后发表评论