Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV S6_KEEP_ENV=1
COPY dev_requirements.txt /dev_requirements.txt

COPY switch_python /usr/bin/switch_python
ARG PYTHON_VERSION=3.9
ARG PYTHON_VERSION=3.11
RUN switch_python "$PYTHON_VERSION"

RUN pip3 install -r dev_requirements.txt
Expand Down
4 changes: 2 additions & 2 deletions base/switch_python
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
set -e

NEWV=$1
if [[ "$NEWV" == "3.9" ]]; then
echo "using default python 3.9"
if [[ "$NEWV" == "3.11" ]]; then
echo "using default python 3.11"
exit 0
fi

Expand Down