Skip to content

Commit db53aa3

Browse files
author
alex.liang
committed
update dockerfile..
1 parent 84bcd62 commit db53aa3

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

docker/arm64v8/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM arm64v8/ubuntu:20.04
22

33

44
ARG DEBIAN_FRONTEND=noninteractive
5+
RUN echo "nameserver 8.8.8.8" > /etc/resolv.conf
56
RUN apt-get clean
67
RUN apt-get --allow-downgrades update
78
RUN apt-get -f install -y --no-install-recommends \

docker/x86-64/Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,9 @@ RUN mkdir -p ${WORKSPACE}
5858
# Python
5959
# ***************************************************************************
6060
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
6764
RUN apt-get install -y python3 python3-pip
6865
RUN ln -s /usr/bin/python3 /usr/bin/python
6966
RUN ln -nsf /usr/bin/pip3 /usr/bin/pip

0 commit comments

Comments
 (0)