Skip to content

Commit 0b14e86

Browse files
Merge pull request #802 from grokspawn/xplat-3
OCPBUGS-35970: switch base image
2 parents 63f1343 + 59c5254 commit 0b14e86

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)