File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 # add sources for older pythons
2222 apt-get update -q --fix-missing && \
2323 apt-get install -y --no-install-recommends software-properties-common && \
24- if [[ "$PYTHON_VERSION" =~ ^(2.7|3.6|3.7)$ ]]; then \
24+ if [[ "$PYTHON_VERSION" =~ ^(2.7|3.6|3.7|3.12 )$ ]]; then \
2525 add-apt-repository ppa:deadsnakes/ppa ; \
2626 fi && \
2727 apt-add-repository universe && \
4141
4242 # install python dependencies
4343 # sysctl -w net.ipv4.ip_forward=1 ; \
44- if [[ "$PYTHON_VERSION" == "2.7" || "$PYTHON_VERSION" == "3.6" || "$PYTHON_VERSION" == "3.7" ]]; then \
44+ if [[ "$PYTHON_VERSION" == "2.7" || "$PYTHON_VERSION" == "3.6" || "$PYTHON_VERSION" == "3.7" || "$PYTHON_VERSION" == "3.12" ]]; then \
4545 PIP_URL="https://bootstrap.pypa.io/pip/$PYTHON_VERSION/get-pip.py" ; \
4646 else \
4747 apt-get -y install --no-install-recommends python${PYTHON_VERSION}-distutils ; \
Original file line number Diff line number Diff line change 2727 # add sources for older pythons
2828 apt-get update -qq --fix-missing && \
2929 apt-get install -y --no-install-recommends software-properties-common && \
30- if [[ "$PYTHON_VERSION" =~ ^(2.7|3.6|3.7)$ ]]; then \
30+ if [[ "$PYTHON_VERSION" =~ ^(2.7|3.6|3.7|3.12 )$ ]]; then \
3131 add-apt-repository ppa:deadsnakes/ppa ; \
3232 fi && \
3333 apt-add-repository universe && \
4747
4848 # install python dependencies
4949 # sysctl -w net.ipv4.ip_forward=1 ; \
50- if [[ "$PYTHON_VERSION" == "2.7" || "$PYTHON_VERSION" == "3.6" || "$PYTHON_VERSION" == "3.7" ]]; then \
50+ if [[ "$PYTHON_VERSION" == "2.7" || "$PYTHON_VERSION" == "3.6" || "$PYTHON_VERSION" == "3.7" || "$PYTHON_VERSION" == "3.12" ]]; then \
5151 PIP_URL="https://bootstrap.pypa.io/pip/$PYTHON_VERSION/get-pip.py" ; \
5252 else \
5353 apt-get -y install --no-install-recommends python${PYTHON_VERSION}-distutils ; \
You can’t perform that action at this time.
0 commit comments