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.
1 parent 019411a commit 6790a7bCopy full SHA for 6790a7b
Dockerfile
@@ -1,10 +1,12 @@
1
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.10 AS builder
2
WORKDIR /go/src/github.com/openshift/cluster-version-operator
3
COPY . .
4
-RUN hack/build-go.sh
+RUN hack/build-go.sh; \
5
+ mkdir -p /tmp/build; \
6
+ cp _output/linux/$(go env GOARCH)/cluster-version-operator /tmp/build/cluster-version-operator
7
8
FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base
-COPY --from=builder /go/src/github.com/openshift/cluster-version-operator/_output/linux/amd64/cluster-version-operator /usr/bin/
9
+COPY --from=builder /tmp/build/cluster-version-operator /usr/bin/
10
COPY install /manifests
11
COPY bootstrap /bootstrap
12
ENTRYPOINT ["/usr/bin/cluster-version-operator"]
0 commit comments