From 1bcbb15299222b3cdb00c2d509b5eb33a13d3037 Mon Sep 17 00:00:00 2001 From: rob salmond Date: Mon, 22 Mar 2021 15:29:54 -0400 Subject: [PATCH] set system default python3 to python3.8 (#5892) --- utils/docker/Dockerfile.bionic | 3 ++- utils/docker/Dockerfile.focal | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/docker/Dockerfile.bionic b/utils/docker/Dockerfile.bionic index 9c1da7a90f..1cb91f3c22 100644 --- a/utils/docker/Dockerfile.bionic +++ b/utils/docker/Dockerfile.bionic @@ -129,7 +129,8 @@ RUN adduser pwuser RUN apt-get update && apt-get install -y python3.8 python3-pip && \ update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 && \ - update-alternatives --install /usr/bin/python python /usr/bin/python3 1 + update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \ + update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 # === BAKE BROWSERS INTO IMAGE === diff --git a/utils/docker/Dockerfile.focal b/utils/docker/Dockerfile.focal index 4c387a9bb1..69d2db8ee2 100644 --- a/utils/docker/Dockerfile.focal +++ b/utils/docker/Dockerfile.focal @@ -129,7 +129,8 @@ RUN adduser pwuser RUN apt-get update && apt-get install -y python3.8 python3-pip && \ update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 && \ - update-alternatives --install /usr/bin/python python /usr/bin/python3 1 + update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \ + update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 # === BAKE BROWSERS INTO IMAGE ===