File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,13 +156,13 @@ USER root
156156# install python to convert keras to tf
157157# NOTE: tensorflow not supported on PowerPC (ppc64le) or System Z (s390x) https://github.com/tensorflow/tensorflow/issues/46181
158158RUN --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 \
160160 gcc \
161161 gcc-c++ \
162162 python3.11-devel \
163163 python3.11 \
164164 python3.11-pip \
165- && alternatives --install /usr/bin/ python python /usr/bin/python3.11 1 \
165+ && alternatives --set python /usr/bin/python3.11 \
166166 && alternatives --install /usr/bin/pip pip /usr/bin/pip3.11 1 \
167167 && true
168168
You can’t perform that action at this time.
0 commit comments