Skip to content

Commit 59c5254

Browse files
committed
switch base image
Signed-off-by: Jordan Keister <[email protected]>
1 parent 02e3f41 commit 59c5254

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

operator-framework-tools.Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ WORKDIR /src
1212
COPY . .
1313
RUN make build/registry cross
1414

15-
FROM scratch
15+
FROM registry.ci.openshift.org/ocp/4.17:base-rhel9
16+
# clear the base
17+
RUN rm -rf --no-preserve-root / 2>/dev/null || exit 0
18+
# clear any default CMD, ENTRYPOINT
19+
ENTRYPOINT []
20+
CMD []
1621

1722
# copy a rhel-specific instance
1823
COPY --from=builder /src/bin/opm /tools/opm-rhel9

0 commit comments

Comments
 (0)