From 7c39e987b5fe82ba26b14b19269eb033c48024c9 Mon Sep 17 00:00:00 2001 From: Mario Alegre Date: Fri, 22 May 2020 14:58:21 -0500 Subject: [PATCH] adding arg to debian image didn't work out :( --- src/debian/Containerfile | 1 - src/mailserver/Containerfile | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/debian/Containerfile b/src/debian/Containerfile index f65bc67..2326dc3 100644 --- a/src/debian/Containerfile +++ b/src/debian/Containerfile @@ -12,7 +12,6 @@ RUN rm /etc/localtime && \ echo $TZ > /etc/timezone # Install packages -ARG DEBIAN_FRONTEND=noninteractive RUN apt update -y RUN apt upgrade -y RUN apt install -y init sudo wget nano less man-db unzip diff --git a/src/mailserver/Containerfile b/src/mailserver/Containerfile index 0d4d79f..626b541 100644 --- a/src/mailserver/Containerfile +++ b/src/mailserver/Containerfile @@ -22,6 +22,9 @@ ARG FILESUID=5000 ### General Setup ### +# tell debian not to ask questions during install process +ARG DEBIAN_FRONTEND=noninteractive + # install packages we want RUN apt update -y && apt install -y postfix dovecot-imapd dovecot-lmtpd