Skip to content

Commit

Permalink
test: use python 3.11 as default inside container
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Sep 10, 2024
1 parent 3545bf2 commit f2ea3e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ RUN apt-get update && \
libssl-dev && \
rm -rf /var/lib/apt/lists/*

RUN update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 1

# need to use virtualenv pypi package with Python 3.11
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python${PYTHON_VERSION}
RUN pip install virtualenv
Expand Down

0 comments on commit f2ea3e5

Please sign in to comment.