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 "
111
111
# Clean
112
112
microdnf clean all
113
113
rm -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 \
6
6
&& microdnf -y --nodocs install python2 \
7
7
&& pip2 install --upgrade pip \
8
8
&& 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 \
11
9
&& ln -sf /usr/bin/python3.9 /usr/bin/python \
12
10
&& ln -sf /usr/bin/pip3.9 /usr/bin/pip \
13
11
&& 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