File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11FROM openpitrix/openpitrix-builder as builder
22
3- WORKDIR /go/src/openpitrix.io/Jobs /
3+ WORKDIR /go/src/github.com/openpitrix/ks-auto-migrate /
44COPY . .
55
66RUN mkdir -p /release_bin
7- RUN GOPROXY=https://goproxy.io CGO_ENABLED=0 GOBIN=/release_bin go install -ldflags '-w -s' -tags netgo openpitrix.io/Jobs /cmd/...
7+ RUN CGO_ENABLED=0 GOBIN=/release_bin go install -ldflags '-w -s' -tags netgo github.com/openpitrix/ks-auto-migrate /cmd/...
88
99
1010FROM alpine:3.7
11- RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
1211RUN apk add --update ca-certificates && update-ca-certificates
1312COPY --from=builder /usr/local/go/lib/time/zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip
14- COPY --from=builder /release_bin/* /usr/local/bin/
13+ COPY --from=builder /release_bin/* /usr/local/bin/
You can’t perform that action at this time.
0 commit comments