Skip to content

Commit

Permalink
fix: Remove distutils dependency (#5179)
Browse files Browse the repository at this point in the history
remove distutils
  • Loading branch information
jaume-ferrarons authored Jan 10, 2025
1 parent 387e4f9 commit 7836b8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# add deadsnakes ppa to install python
add-apt-repository ppa:deadsnakes/ppa && \
apt-get update -y && \
apt-get install -y --no-install-recommends --allow-remove-essential {% if "ubuntu22.04" in __base_image__ and __options__python_version == "3.10" %}python{{ __options__python_version }}-jammy{% else %}python{{ __options__python_version }}{% endif %} python{{ __options__python_version }}-dev python{{ __options__python_version }}-distutils
apt-get install -y --no-install-recommends --allow-remove-essential {% if "ubuntu22.04" in __base_image__ and __options__python_version == "3.10" %}python{{ __options__python_version }}-jammy{% else %}python{{ __options__python_version }}{% endif %} python{{ __options__python_version }}-dev

RUN ln -sf /usr/bin/python{{ __options__python_version }} /usr/bin/python3 && \
ln -sf /usr/bin/pip{{ __options__python_version }} /usr/bin/pip3
Expand Down

0 comments on commit 7836b8c

Please sign in to comment.