Control the mirrors list
This commit is contained in:
parent
70fd9297b8
commit
a16bf128e6
1 changed files with 9 additions and 0 deletions
|
@ -6,6 +6,15 @@ ENV LANGUAGE en_GB.UTF-8
|
|||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN echo "APT::Acquire::Retries=16;" >> /etc/apt/apt.conf.d/99_retries
|
||||
RUN echo '\
|
||||
deb mirror://mirrors.ubuntu.com/mirrors.txt cosmic main restricted \n\
|
||||
deb mirror://mirrors.ubuntu.com/mirrors.txt cosmic-updates main restricted \n\
|
||||
deb mirror://mirrors.ubuntu.com/mirrors.txt cosmic-security main restricted \n\
|
||||
deb mirror://mirrors.ubuntu.com/mirrors.txt cosmic universe \n\
|
||||
deb mirror://mirrors.ubuntu.com/mirrors.txt cosmic-updates universe\n\
|
||||
deb mirror://mirrors.ubuntu.com/mirrors.txt cosmic-security universe\n\
|
||||
' > /etc/apt/sources.list
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y --fix-missing sudo apt-utils aptitude dirmngr locales nullmailer
|
||||
RUN apt-get -y --fix-missing upgrade
|
||||
|
|
Loading…
Reference in a new issue