Skip to content

Commit 0e4d655

Browse files
author
Nelson Wang
committed
Removing unnecessary packages
1 parent d9b524e commit 0e4d655

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

base/redhat-8/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ microdnf -y --nodocs install wget sudo shadow-utils procps
3131
wget -O /bin/busybox https://busybox.net/downloads/binaries/1.28.1-defconfig-multiarch/busybox-`arch`
3232
chmod +x /bin/busybox
3333
microdnf -y --nodocs install gcc redhat-rpm-config python2-devel libffi-devel openssl-devel tar
34-
pip2 install --upgrade pip
35-
pip2 -q --no-cache-dir install requests ansible
34+
pip2 --no-cache-dir install requests ansible
35+
microdnf -y remove gcc libffi-devel openssl-devel
36+
microdnf clean all
3637

3738
cd /bin
3839
ln -s python2 python || true
39-
python -V
4040
ln -s busybox diff || true
4141
ln -s busybox hostname || true
4242
ln -s busybox killall || true

0 commit comments

Comments
 (0)