正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -22,7 +22,7 @@ FROM golang:alpine AS builder | @@ -22,7 +22,7 @@ FROM golang:alpine AS builder | ||
22 | RUN mkdir /app | 22 | RUN mkdir /app |
23 | COPY . /app | 23 | COPY . /app |
24 | WORKDIR /app | 24 | WORKDIR /app |
25 | -RUN GO111MODULE="on" GOPROXY="https://goproxy.cn" GOFLAGS=-mod=vendor CGO_ENABLED=0 GOOS=linux go build -o partner | 25 | +RUN GO111MODULE="on" GOPROXY="https://goproxy.cn" GOFLAGS="-mod=vendor" CGO_ENABLED=0 GOOS=linux go build -o partner |
26 | 26 | ||
27 | ############################ | 27 | ############################ |
28 | # STEP 2 build a small image | 28 | # STEP 2 build a small image |
-
请 注册 或 登录 后发表评论