Skip to content

Commit

Permalink
fix(poetry): Add python3.8-venv Ubuntu package (#5030)
Browse files Browse the repository at this point in the history
Poetry fails to create a virtual environment if python3.8-venv is not
installed.

Fix #5029
  • Loading branch information
keimlink authored and rarkins committed Dec 20, 2019
1 parent 01156f1 commit b22a9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ ENV CGO_ENABLED=0

# Python

RUN apt-get update && apt-get install -y python3.8-dev python3-distutils && \
RUN apt-get update && apt-get install -y python3.8-dev python3.8-venv python3-distutils && \
rm -rf /var/lib/apt/lists/*

RUN rm -fr /usr/bin/python3 && ln /usr/bin/python3.8 /usr/bin/python3
Expand Down

0 comments on commit b22a9fa

Please sign in to comment.