File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -111,3 +111,7 @@ echo "
111111# Clean
112112microdnf clean all
113113rm -rf /install.sh /anaconda-post.log /var/log/anaconda/*
114+
115+ # Symlink python/pip
116+ ln -sf /usr/bin/python3.9 /usr/bin/python3
117+ ln -sf /usr/bin/pip3.9 /usr/bin/pip3
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ RUN microdnf -y --nodocs update \
66 && microdnf -y --nodocs install python2 \
77 && pip2 install --upgrade pip \
88 && pip2 --no-cache-dir install requests pyyaml jmespath \
9- && ln -sf /usr/bin/python3.9 /usr/bin/python3 \
10- && ln -sf /usr/bin/pip3.9 /usr/bin/pip3 \
119 && ln -sf /usr/bin/python3.9 /usr/bin/python \
1210 && ln -sf /usr/bin/pip3.9 /usr/bin/pip \
1311 && pip3 install --upgrade requests==2.25.1 pyyaml==5.4.1 jmespath==0.10.0 \
You can’t perform that action at this time.
0 commit comments