Skip to content
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

run yum clean all in rhel images #671

Merged
merged 1 commit into from
Feb 10, 2025
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
3 changes: 1 addition & 2 deletions runners/rhel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ FROM ${RELEASE}
ARG FIPS
ARG RELEASE

# TODO use yum clean all once we drop py36 support
RUN yum install -y gcc libffi-devel python3-devel openssl-devel git which pkg-config zstd
RUN yum install -y gcc libffi-devel python3-devel openssl-devel git which pkg-config zstd && yum clean all
RUN if [ "$RELEASE" = "redhat/ubi8" ] ; then yum install -y python38-devel; fi

RUN if [ "$FIPS" = "1" ] ; then if [ "$RELEASE" = "redhat/ubi8" ] ; then rm -rf /etc/system-fips && touch /etc/system-fips; else update-crypto-policies --set FIPS; fi && echo "FIPS mode"; else echo "Not FIPS mode"; fi
Expand Down