Skip to content

OCPBUGS-35970: don't erase the filesystem from the base tools image #804

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions operator-framework-tools.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ COPY . .
RUN make build/registry cross

FROM registry.ci.openshift.org/ocp/4.17:base-rhel9
# clear the base
RUN rm -rf --no-preserve-root / 2>/dev/null || exit 0
# clear any default CMD, ENTRYPOINT
ENTRYPOINT []
ENTRYPOINT ["sh", "-c", "echo 'Running this image is not supported' && exit 1"]
# clear any default CMD
CMD []

# copy a rhel-specific instance
Expand Down