From 9cb3894561e58390568a5efc2df4d225cd73f434 Mon Sep 17 00:00:00 2001 From: rsalmond Date: Fri, 19 Mar 2021 17:18:14 -0400 Subject: [PATCH 1/3] set system default python3 to python3.8 --- utils/docker/Dockerfile.bionic | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/docker/Dockerfile.bionic b/utils/docker/Dockerfile.bionic index 9c1da7a90f2c5..d0caae5282426 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 === From 740c7d70200c156834f3c285dc388f1aca746237 Mon Sep 17 00:00:00 2001 From: rsalmond Date: Fri, 19 Mar 2021 17:29:40 -0400 Subject: [PATCH 2/3] give focal the same python3->python3.8 treatment --- utils/docker/Dockerfile.focal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/docker/Dockerfile.focal b/utils/docker/Dockerfile.focal index 4c387a9bb196e..c12af0f748e0b 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 === From 3d0d76be774d5ddf8de2d1e14cdfbfef4d62c2b3 Mon Sep 17 00:00:00 2001 From: rsalmond Date: Fri, 19 Mar 2021 17:58:30 -0400 Subject: [PATCH 3/3] remove extra trailing chars --- utils/docker/Dockerfile.bionic | 2 +- utils/docker/Dockerfile.focal | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/docker/Dockerfile.bionic b/utils/docker/Dockerfile.bionic index d0caae5282426..1cb91f3c22f1f 100644 --- a/utils/docker/Dockerfile.bionic +++ b/utils/docker/Dockerfile.bionic @@ -130,7 +130,7 @@ 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/python3 python3 /usr/bin/python3.8 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 c12af0f748e0b..69d2db8ee2014 100644 --- a/utils/docker/Dockerfile.focal +++ b/utils/docker/Dockerfile.focal @@ -130,7 +130,7 @@ 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/python3 python3 /usr/bin/python3.8 1 && \ + update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 # === BAKE BROWSERS INTO IMAGE ===