File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.18 AS builder
2
+ WORKDIR /build
3
+ COPY . .
4
+ # TODO Modify upstream Makefile to separate the 'go build' commands
5
+ # from 'image-registry' target so we don't need these
6
+ RUN go build -o ./registry ./testdata/registry/registry.go
7
+ RUN go build -o ./push ./testdata/push/push.go
8
+
9
+ FROM registry.ci.openshift.org/ocp/4.18:base-rhel9
10
+ USER 1001
11
+ COPY --from=builder /build/registry /registry
12
+ COPY --from=builder /build/push /push
13
+ COPY openshift/manifests /openshift/manifests
14
+
15
+ LABEL io.k8s.display-name="OpenShift Operator Lifecycle Manager Operator Controller E2E Registry" \
16
+ io.k8s.description="This is a registry image that is used during E2E testing of Operator Controller"
You can’t perform that action at this time.
0 commit comments