Skip to content

Commit 001e078

Browse files
committed
fixup! Install python3.8 in Docker container
1 parent fc80907 commit 001e078

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,13 @@ RUN \
7070

7171
# install python3.8
7272
RUN \
73-
add-apt-repository ppa:deadsnakes/ppa \
73+
add-apt-repository -y ppa:deadsnakes/ppa \
7474
&& \
75-
apt install python3.8 \
75+
apt-get install -y python3.8 \
76+
&& \
77+
apt-get clean \
78+
&& \
79+
rm -rf /var/lib/apt/lists/* \
7680
&& \
7781
echo "installed python3.8"
7882

0 commit comments

Comments
 (0)