File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
model-mesh-triton-adapter/scripts Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,12 @@ USER root
2525ENV HOME=/root
2626
2727# Install build and dev tools
28- # NOTE: Require python38 to install pre-commit
28+ # NOTE: Require python311 to install pre-commit
2929RUN --mount=type=cache,target=/root/.cache/dnf:rw \
3030 dnf install --setopt=cachedir=/root/.cache/dnf -y --nodocs \
3131 nodejs \
32- python38 \
32+ python3.11 \
33+ python3.11-pip \
3334 && ln -sf /usr/bin/python3 /usr/bin/python \
3435 && ln -sf /usr/bin/pip3 /usr/bin/pip \
3536 && true
@@ -158,8 +159,9 @@ RUN --mount=type=cache,target=/root/.cache/microdnf:rw \
158159 microdnf install --setopt=cachedir=/root/.cache/microdnf --setopt=ubi-8-appstream-rpms.module_hotfixes=1 \
159160 gcc \
160161 gcc-c++ \
161- python38-devel \
162- python38 \
162+ python3.11-devel \
163+ python3.11 \
164+ python3.11-pip \
163165 && ln -sf /usr/bin/python3 /usr/bin/python \
164166 && ln -sf /usr/bin/pip3 /usr/bin/pip \
165167 && true
Original file line number Diff line number Diff line change 1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212# See the License for the specific language governing permissions and
1313# limitations under the License.
14+
1415import os
1516import sys
1617import time
You can’t perform that action at this time.
0 commit comments