From d9a3fdbd58912fb9e79299186b4127c4045017cb Mon Sep 17 00:00:00 2001
From: Joseph Weston <joseph@weston.cloud>
Date: Tue, 12 Nov 2019 16:16:36 +0100
Subject: [PATCH] ensure Dockerfiles use noninteractive mode when calling APT

---
 docker/Dockerfile.conda  | 1 +
 docker/Dockerfile.debian | 1 +
 docker/Dockerfile.ubuntu | 1 +
 3 files changed, 3 insertions(+)

diff --git a/docker/Dockerfile.conda b/docker/Dockerfile.conda
index 5deab0b3..05eba22f 100644
--- a/docker/Dockerfile.conda
+++ b/docker/Dockerfile.conda
@@ -2,6 +2,7 @@ FROM conda/miniconda3:latest
 
 ENV LANG C.UTF-8
 ENV LC_ALL C.UTF-8
+ENV DEBIAN_FRONTEND noninteractive
 
 RUN apt-get update && apt-get install -y --no-install-recommends \
         # all the hard non-Python dependencies
diff --git a/docker/Dockerfile.debian b/docker/Dockerfile.debian
index 31e6934a..28288faa 100644
--- a/docker/Dockerfile.debian
+++ b/docker/Dockerfile.debian
@@ -2,6 +2,7 @@ FROM debian:latest
 
 ENV LANG C.UTF-8
 ENV LC_ALL C.UTF-8
+ENV DEBIAN_FRONTEND noninteractive
 
 RUN apt-get update && apt-get install -y --no-install-recommends \
         gnupg dirmngr apt-transport-https ca-certificates curl software-properties-common
diff --git a/docker/Dockerfile.ubuntu b/docker/Dockerfile.ubuntu
index 85434711..bca1da6d 100644
--- a/docker/Dockerfile.ubuntu
+++ b/docker/Dockerfile.ubuntu
@@ -2,6 +2,7 @@ FROM ubuntu:16.04
 
 ENV LANG C.UTF-8
 ENV LC_ALL C.UTF-8
+ENV DEBIAN_FRONTEND noninteractive
 
 RUN apt-get update && apt-get install -y --no-install-recommends \
         gnupg dirmngr apt-transport-https software-properties-common
-- 
GitLab