Skip to content

Commit

Permalink
ci(docker): fixed sh condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Dec 13, 2023
1 parent be0334c commit 506b9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile.pip
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

# Set python3 to python3.x (otherwise, it will be python3.8)
RUN if [ "$PYTHON_VERSION" = "3"] ; then echo Skip python3 override ; else update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 1; fi
RUN if [ "$PYTHON_VERSION" != "3" ] ; then update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 1 ;fi

# Never use a cache directory for pip, both here in this Dockerfile
# and when we run the container.
Expand Down

0 comments on commit 506b9c4

Please sign in to comment.