正在显示
1 个修改的文件
包含
2 行增加
和
3 行删除
1 | -#FROM golang:latest | ||
2 | -FROM 192.168.0.243:5000/mmm/character-library-metadata-bastion:base | 1 | +FROM golang:latest |
2 | +#FROM 192.168.0.243:5000/mmm/character-library-metadata-bastion:base | ||
3 | ENV APP_DIR $GOPATH/src/character-library-metadata-bastion | 3 | ENV APP_DIR $GOPATH/src/character-library-metadata-bastion |
4 | RUN mkdir -p $APP_DIR | 4 | RUN mkdir -p $APP_DIR |
5 | WORKDIR $APP_DIR/ | 5 | WORKDIR $APP_DIR/ |
6 | COPY ./pkg pkg | 6 | COPY ./pkg pkg |
7 | COPY ./config config | 7 | COPY ./config config |
8 | COPY ./go.mod go.mod | 8 | COPY ./go.mod go.mod |
9 | -COPY ./go.sum go.sum | ||
10 | COPY ./main.go main.go | 9 | COPY ./main.go main.go |
11 | RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"] | 10 | RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"] |
12 | ENV GO111MODULE on | 11 | ENV GO111MODULE on |
-
请 注册 或 登录 后发表评论