forked from openshift-kni/numaresources-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.tests
18 lines (15 loc) · 822 Bytes
/
Dockerfile.tests
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM docker.io/golang:1.22 AS builder
WORKDIR /go/src/github.com/openshift-kni/numaresources-operator
COPY . .
RUN make build-tools
RUN make build-topics
RUN make build-e2e-all
RUN make build-numacell
FROM registry.access.redhat.com/ubi9/ubi-minimal
WORKDIR /usr/local/bin
COPY --from=builder /go/src/github.com/openshift-kni/numaresources-operator/bin/e2e-nrop*.test .
COPY --from=builder /go/src/github.com/openshift-kni/numaresources-operator/bin/run-e2e-nrop*.sh .
COPY --from=builder /go/src/github.com/openshift-kni/numaresources-operator/bin/numacell /bin/numacell
COPY --from=builder /go/src/github.com/openshift-kni/numaresources-operator/bin/pause /pause
COPY --from=builder /go/src/github.com/openshift-kni/numaresources-operator/bin/topics.json /usr/local/share/topics.json
CMD ["./run-e2e-nrop-serial.sh"]