File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ WORKDIR /go/src/github.com/openshift/kubernetes-nmstate
33COPY . .
44RUN GO111MODULE=on go build --mod=vendor -o build/_output/bin/manager ./cmd/handler/
55
6- FROM registry.ci.openshift.org/ocp/4.21:base-rhel9
6+ FROM ubi8-minimal
77
88RUN \
9- dnf -y update && \
10- dnf -y install \
11- nmstate \
12- iputils \
13- iproute && \
14- dnf clean all
9+ microdnf -y update && \
10+ microdnf -y install \
11+ nmstate \
12+ iputils \
13+ iproute && \
14+ microdnf clean all
1515
1616
1717COPY --from=builder /go/src/github.com/openshift/kubernetes-nmstate/build/_output/bin/manager /usr/bin/
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ WORKDIR /go/src/github.com/openshift/kubernetes-nmstate
33COPY . .
44RUN GO111MODULE=on go build --mod=vendor -o build/_output/bin/manager ./cmd/operator
55
6- FROM registry.ci.openshift.org/ocp/4.21:base-rhel9
6+ FROM ubi8-minimal
77
88COPY --from=builder /go/src/github.com/openshift/kubernetes-nmstate/build/_output/bin/manager /usr/bin/
99COPY deploy/crds/nmstate.io_nodenetwork*.yaml /bindata/kubernetes-nmstate/crds/
You can’t perform that action at this time.
0 commit comments