set system default python3 to python3.8 (#5892)

This commit is contained in:
rob salmond 2021-03-22 15:29:54 -04:00 committed by GitHub
parent 2064d27dc6
commit 1bcbb15299
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -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 ===

View file

@ -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 ===