diff --git a/utils/docker/Dockerfile.bionic b/utils/docker/Dockerfile.bionic index 9c1da7a90f2c5..1cb91f3c22f1f 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 4c387a9bb196e..69d2db8ee2014 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 ===