Skip to content

Commit 0811e7b

Browse files
committed
one more fix for dockerfiles
1 parent fd6396f commit 0811e7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/test/base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ RUN echo "TSAN_OPTIONS='verbosity=1000 halt_on_error=1 history_size=7'" >> /etc/
5757

5858
# Some python2 packages deprecated in ubuntu 20.04, so install them using pip
5959
RUN add-apt-repository universe \
60-
&& apt install python2 \
60+
&& apt-get install python2 --yes --no-install-recommends \
6161
&& curl "https://bootstrap.pypa.io/get-pip.py" --output get-pip.py \
6262
&& python2 get-pip.py \
6363
&& pip install requests termcolor

docker/test/fasttest/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ RUN apt-get update \
6464

6565
# Some python2 packages deprecated in ubuntu 20.04, so install them using pip
6666
RUN add-apt-repository universe \
67-
&& apt install python2 \
67+
&& apt-get install python2 --yes --no-install-recommends \
6868
&& curl "https://bootstrap.pypa.io/get-pip.py" --output get-pip.py \
6969
&& python2 get-pip.py \
7070
&& pip install requests termcolor

0 commit comments

Comments
 (0)