File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,13 +156,13 @@ USER root
156
156
# install python to convert keras to tf
157
157
# NOTE: tensorflow not supported on PowerPC (ppc64le) or System Z (s390x) https://github.com/tensorflow/tensorflow/issues/46181
158
158
RUN --mount=type=cache,target=/root/.cache/microdnf:rw \
159
- microdnf install --setopt=cachedir=/root/.cache/microdnf --setopt=ubi-9-appstream-rpms.module_hotfixes=1 \
159
+ microdnf install -y - -setopt=cachedir=/root/.cache/microdnf --setopt=ubi-9-appstream-rpms.module_hotfixes=1 \
160
160
gcc \
161
161
gcc-c++ \
162
162
python3.11-devel \
163
163
python3.11 \
164
164
python3.11-pip \
165
- && alternatives --install /usr/bin/ python python /usr/bin/python3.11 1 \
165
+ && alternatives --set python /usr/bin/python3.11 \
166
166
&& alternatives --install /usr/bin/pip pip /usr/bin/pip3.11 1 \
167
167
&& true
168
168
You can’t perform that action at this time.
0 commit comments