File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.10 AS builder
2
2
WORKDIR /go/src/github.com/openshift/cluster-version-operator
3
3
COPY . .
4
- RUN hack/build-go.sh
4
+ 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
5
7
6
8
FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base
7
- 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/
8
10
COPY install /manifests
9
11
COPY vendor/github.com/openshift/api/config/v1/0000_00_cluster-version-operator_01_clusterversion.crd.yaml /manifests/
10
12
COPY vendor/github.com/openshift/api/config/v1/0000_00_cluster-version-operator_01_clusteroperator.crd.yaml /manifests/
You can’t perform that action at this time.
0 commit comments