File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 30
30
python${PYTHON_VERSION} \
31
31
python${PYTHON_VERSION}-dev \
32
32
$( 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 ) \
34
34
curl \
35
35
wget && \
36
36
rm -rf /var/lib/apt/lists/* && \
39
39
update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1 && \
40
40
# install python dependencies \
41
41
PIP_URL="https://bootstrap.pypa.io/get-pip.py" && \
42
- if [ "${PYTHON_VERSION}" -ne "3.12" ]; then \
42
+ if [ "${PYTHON_VERSION}" != "3.12" ]; then \
43
43
curl $PIP_URL | python ; \
44
44
fi
45
45
Original file line number Diff line number Diff line change 36
36
python${PYTHON_VERSION} \
37
37
python${PYTHON_VERSION}-dev \
38
38
$( 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 ) \
40
40
curl \
41
41
wget && \
42
42
rm -rf /var/lib/apt/lists/* && \
45
45
update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1 && \
46
46
# install python dependencies
47
47
PIP_URL="https://bootstrap.pypa.io/get-pip.py" && \
48
- if [ "${PYTHON_VERSION}" -ne "3.12" ]; then \
48
+ if [ "${PYTHON_VERSION}" != "3.12" ]; then \
49
49
curl $PIP_URL | python ; \
50
50
fi
51
51
You can’t perform that action at this time.
0 commit comments