Make sure that the fresh debian build is noninteractive

This commit is contained in:
Cyryl Płotnicki 2019-03-05 10:17:08 +00:00
parent 05b5494b3f
commit bf7e89bc31
2 changed files with 6 additions and 2 deletions

View file

@ -7,7 +7,7 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN echo "APT::Acquire::Retries=16;" >> /etc/apt/apt.conf.d/99_retries
RUN apt-get update
RUN apt-get install -y --fix-missing sudo apt-utils aptitude dirmngr locales
RUN apt-get install -y --fix-missing sudo apt-utils aptitude dirmngr locales nullmailer
RUN apt-get -y upgrade
RUN sudo locale-gen en_GB.UTF-8

View file

@ -8,8 +8,12 @@ export NO_SYSTEMCTL=true
echo "APT::Acquire::Retries=16;" >> /etc/apt/apt.conf.d/99_retries
echo "Europe/London" > /etc/timezone
apt-get update
apt-get install sudo
apt-get install -y sudo nullmailer tzdata
dpkg-reconfigure -f noninteractive tzdata
cd $HOME
mkdir -p dev/