Skip to content

Commit 75ef97b

Browse files
committed
distutils
1 parent 7b81739 commit 75ef97b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

cpu/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ RUN \
2929
apt-get -y install --no-install-recommends \
3030
python${PYTHON_VERSION} \
3131
python${PYTHON_VERSION}-dev \
32+
$( if [ "${PYTHON_VERSION%%.*}" -eq 3 ] && [ "${PYTHON_VERSION#*.}" -lt 10 ]; then echo "python${PYTHON_VERSION}-distutils"; fi ) \
3233
curl \
3334
wget && \
3435
rm -rf /var/lib/apt/lists/* && \

gpu/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ RUN \
3535
apt-get -y install --no-install-recommends \
3636
python${PYTHON_VERSION} \
3737
python${PYTHON_VERSION}-dev \
38+
$( if [ "${PYTHON_VERSION%%.*}" -eq 3 ] && [ "${PYTHON_VERSION#*.}" -lt 10 ]; then echo "python${PYTHON_VERSION}-distutils"; fi ) \
3839
curl \
3940
wget && \
4041
rm -rf /var/lib/apt/lists/* && \

0 commit comments

Comments
 (0)