Skip to content

Commit

Permalink
Symlink python & python3 commands to python3.12
Browse files Browse the repository at this point in the history
Addresses #37 (comment)
  • Loading branch information
jordan-gillard committed Jul 15, 2024
1 parent 6363fbe commit baf038d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ RUN apt-get update && apt-get install -y \
# for development
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.12

# Set default python executable for when users run python or python3
# on the command line
RUN ln -sf usr/bin/python3.12 usr/bin/python
RUN ln -sf usr/bin/python3.12 usr/bin/python3

# Install pipx, poetry, and tox
RUN python3.12 -m pip install --upgrade pip \
&& python3.12 -m pip install pipx \
Expand Down

0 comments on commit baf038d

Please sign in to comment.