Skip to content

Commit b14318e

Browse files
Merge pull request #804 from grokspawn/tools-4
OCPBUGS-35970: don't erase the filesystem from the base tools image
2 parents 709b250 + 414c4a6 commit b14318e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

operator-framework-tools.Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ COPY . .
1313
RUN make build/registry cross
1414

1515
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 []
16+
ENTRYPOINT ["sh", "-c", "echo 'Running this image is not supported' && exit 1"]
17+
# clear any default CMD
2018
CMD []
2119

2220
# copy a rhel-specific instance

0 commit comments

Comments
 (0)