Skip to content

Commit

Permalink
set system default python3 to python3.8 (#5892)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsalmond authored Mar 22, 2021
1 parent 2064d27 commit 1bcbb15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion utils/docker/Dockerfile.bionic
Original file line number Diff line number Diff line change
Expand Up @@ -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 ===

Expand Down
3 changes: 2 additions & 1 deletion utils/docker/Dockerfile.focal
Original file line number Diff line number Diff line change
Expand Up @@ -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 ===

Expand Down

0 comments on commit 1bcbb15

Please sign in to comment.