Skip to content

Commit 0b9c0c1

Browse files
committed
update
1 parent 62bc106 commit 0b9c0c1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cpu/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ ENV DEBIAN_FRONTEND=noninteractive \
1818

1919

2020
RUN \
21-
# add sources for older pythons
2221
apt-get update -qq --fix-missing && \
23-
apt-get install -y --no-install-recommends software-properties-common && \
22+
apt-get install -y --no-install-recommends \
23+
software-properties-common \
24+
dirmngr \
25+
gnupg && \
2426
add-apt-repository ppa:deadsnakes/ppa && \
2527
apt-add-repository universe && \
2628
apt-get -y update -qq --fix-missing && \
@@ -29,8 +31,7 @@ RUN \
2931
python${PYTHON_VERSION}-dev \
3032
python${PYTHON_VERSION}-distutils \
3133
curl \
32-
wget \
33-
&& \
34+
wget && \
3435
rm -rf /var/lib/apt/lists/* && \
3536
# Set the default python and install PIP packages
3637
update-alternatives --install /usr/bin/python${PYTHON_VERSION%%.*} python${PYTHON_VERSION%%.*} /usr/bin/python${PYTHON_VERSION} 1 && \

0 commit comments

Comments
 (0)