From 746612e8010094e7c046ea2badcaab54d5d940eb Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 11 Aug 2026 11:38:27 -0600 Subject: [PATCH] Restore old format --- docker/main/Dockerfile | 9 ++++++--- docker/main/install_deps.sh | 4 +++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/docker/main/Dockerfile b/docker/main/Dockerfile index 180e079715..aecfc0fdcb 100644 --- a/docker/main/Dockerfile +++ b/docker/main/Dockerfile @@ -77,7 +77,8 @@ ARG PIP_BREAK_SYSTEM_PACKAGES # Install OpenVINO for model conversion COPY docker/main/requirements-ov.txt /requirements-ov.txt RUN apt-get -qq update \ - && apt-get -qq install -y wget python3 \ + && apt-get -qq install -y wget python3.13 \ + && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1 \ && wget -q https://bootstrap.pypa.io/get-pip.py -O get-pip.py \ && sed -i 's/args.append("setuptools")/args.append("setuptools==77.0.3")/' get-pip.py \ && python3 get-pip.py "pip" \ @@ -158,8 +159,8 @@ RUN apt-get -qq update \ apt-transport-https wget unzip \ && apt-get -qq update \ && apt-get -qq install -y \ - python3 \ - python3-dev \ + python3.13 \ + python3.13-dev \ # opencv dependencies build-essential cmake git pkg-config libgtk-3-dev \ libavcodec-dev libavformat-dev libswscale-dev libv4l-dev \ @@ -173,6 +174,8 @@ RUN apt-get -qq update \ gcc gfortran libopenblas-dev liblapack-dev && \ rm -rf /var/lib/apt/lists/* +RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1 + RUN wget -q https://bootstrap.pypa.io/get-pip.py -O get-pip.py \ && sed -i 's/args.append("setuptools")/args.append("setuptools==77.0.3")/' get-pip.py \ && python3 get-pip.py "pip" diff --git a/docker/main/install_deps.sh b/docker/main/install_deps.sh index eb40774a7c..cc6712ef73 100755 --- a/docker/main/install_deps.sh +++ b/docker/main/install_deps.sh @@ -12,7 +12,7 @@ apt-get -qq install --no-install-recommends -y \ lbzip2 \ procps vainfo \ unzip locales tzdata libxml2 xz-utils \ - python3 \ + python3.13 \ curl \ lsof \ jq \ @@ -23,6 +23,8 @@ apt-get -qq install --no-install-recommends -y \ python3-h2 \ libgomp1 # memryx detector +update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1 + mkdir -p -m 600 /root/.gnupg # install coral runtime