File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ FROM arm64v8/ubuntu:20.04
2
2
3
3
4
4
ARG DEBIAN_FRONTEND=noninteractive
5
+ RUN echo "nameserver 8.8.8.8" > /etc/resolv.conf
5
6
RUN apt-get clean
6
7
RUN apt-get --allow-downgrades update
7
8
RUN apt-get -f install -y --no-install-recommends \
Original file line number Diff line number Diff line change @@ -58,12 +58,9 @@ RUN mkdir -p ${WORKSPACE}
58
58
# Python
59
59
# ***************************************************************************
60
60
ARG DEBIAN_FRONTEND=noninteractive
61
- RUN echo "nameserver 8.8.8.8" >> /etc/resolv.conf
62
- RUN apt-get update
63
- RUN cat /etc/apt/sources.list
64
- RUN apt-get install software-properties-common
65
- RUN add-apt-repository universe
66
- RUN cat /etc/apt/sources.list
61
+ RUN echo "nameserver 8.8.8.8" > /etc/resolv.conf
62
+ RUN apt-get clean
63
+ RUN apt-get --allow-downgrades update
67
64
RUN apt-get install -y python3 python3-pip
68
65
RUN ln -s /usr/bin/python3 /usr/bin/python
69
66
RUN ln -nsf /usr/bin/pip3 /usr/bin/pip
You can’t perform that action at this time.
0 commit comments