We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b93cf1c + 96b564e commit 065c638Copy full SHA for 065c638
build/images/kubean-operator/Dockerfile
@@ -2,17 +2,18 @@ FROM golang:1.17.3 as build
2
3
WORKDIR /kubean
4
5
-ENV GO111MODULE=on \
6
- GOPROXY=https://goproxy.cn,direct
+# ENV GO111MODULE=on \
+# GOPROXY=https://goproxy.cn,direct
7
+ENV GO111MODULE=on
8
9
COPY . .
10
11
RUN CGO_ENABLED=0 GOOS=linux go build -mod vendor -o kubean-operator ./cmd/kubean-operator/main.go
12
13
FROM alpine:3.15
14
-RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
15
+# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
16
-COPY --from=build /kubean/kubean-operator /bin/
17
+COPY --from=build /kubean/kubean-operator /bin/
18
19
CMD ["/bin/kubean-operator"]
0 commit comments