Skip to content

Commit

Permalink
install then remove right away to check
Browse files Browse the repository at this point in the history
  • Loading branch information
potter-potter committed May 9, 2024
1 parent ffd4276 commit 8d780eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dockerfiles/deps/python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

set -ex

dnf -y groupinstall "Development Tools"
dnf -y groupremove "Development Tools"


# Install necessary dependencies
dnf install -y --allowerasing \
Expand Down Expand Up @@ -63,7 +66,7 @@ cd /tmp/Python-$PYTHON_VERSION &&
# # (Trevor) Setuptools for 3.9 has vulns, so we need to remove it
# rpm --nodeps -e python3-setuptools-53.0.0-12.el9.noarch
# rm -rf /usr/local/lib/python3.9/site-packages/setuptools
dnf -v --refresh # see if I can figure out why this is failing
# dnf -v --refresh # see if I can figure out why this is failing
dnf -y groupremove "Development Tools"
rm -rf /var/cache/yum/*
dnf clean all

0 comments on commit 8d780eb

Please sign in to comment.