File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3030 python${PYTHON_VERSION} \
3131 python${PYTHON_VERSION}-dev \
3232 $( if [ "${PYTHON_VERSION%%.*}" -eq 3 ] && [ "${PYTHON_VERSION#*.}" -lt 10 ]; then echo "python${PYTHON_VERSION}-distutils" ; fi ) \
33- $( if [ "${PYTHON_VERSION}" -eq "3.12" ]; then echo "python3-pip" ; fi ) \
33+ $( if [ "${PYTHON_VERSION}" == "3.12" ]; then echo "python3-pip" ; fi ) \
3434 curl \
3535 wget && \
3636 rm -rf /var/lib/apt/lists/* && \
3939 update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1 && \
4040 # install python dependencies \
4141 PIP_URL="https://bootstrap.pypa.io/get-pip.py" && \
42- if [ "${PYTHON_VERSION}" -ne "3.12" ]; then \
42+ if [ "${PYTHON_VERSION}" != "3.12" ]; then \
4343 curl $PIP_URL | python ; \
4444 fi
4545
Original file line number Diff line number Diff line change 3636 python${PYTHON_VERSION} \
3737 python${PYTHON_VERSION}-dev \
3838 $( if [ "${PYTHON_VERSION%%.*}" -eq 3 ] && [ "${PYTHON_VERSION#*.}" -lt 10 ]; then echo "python${PYTHON_VERSION}-distutils" ; fi ) \
39- $( if [ "${PYTHON_VERSION}" -eq "3.12" ]; then echo "python3-pip" ; fi ) \
39+ $( if [ "${PYTHON_VERSION}" == "3.12" ]; then echo "python3-pip" ; fi ) \
4040 curl \
4141 wget && \
4242 rm -rf /var/lib/apt/lists/* && \
4545 update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1 && \
4646 # install python dependencies
4747 PIP_URL="https://bootstrap.pypa.io/get-pip.py" && \
48- if [ "${PYTHON_VERSION}" -ne "3.12" ]; then \
48+ if [ "${PYTHON_VERSION}" != "3.12" ]; then \
4949 curl $PIP_URL | python ; \
5050 fi
5151
You can’t perform that action at this time.
0 commit comments