Make sure that the fresh debian build is noninteractive
This commit is contained in:
parent
05b5494b3f
commit
bf7e89bc31
2 changed files with 6 additions and 2 deletions
|
@ -7,7 +7,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN echo "APT::Acquire::Retries=16;" >> /etc/apt/apt.conf.d/99_retries
|
RUN echo "APT::Acquire::Retries=16;" >> /etc/apt/apt.conf.d/99_retries
|
||||||
RUN apt-get update
|
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 apt-get -y upgrade
|
||||||
|
|
||||||
RUN sudo locale-gen en_GB.UTF-8
|
RUN sudo locale-gen en_GB.UTF-8
|
||||||
|
|
|
@ -8,8 +8,12 @@ export NO_SYSTEMCTL=true
|
||||||
|
|
||||||
echo "APT::Acquire::Retries=16;" >> /etc/apt/apt.conf.d/99_retries
|
echo "APT::Acquire::Retries=16;" >> /etc/apt/apt.conf.d/99_retries
|
||||||
|
|
||||||
|
echo "Europe/London" > /etc/timezone
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install sudo
|
apt-get install -y sudo nullmailer tzdata
|
||||||
|
dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
|
||||||
cd $HOME
|
cd $HOME
|
||||||
|
|
||||||
mkdir -p dev/
|
mkdir -p dev/
|
||||||
|
|
Loading…
Reference in a new issue