set DEBIAN_FRONTEND=noninteractive
avoids possible prompts during setup of apt packages
MODIFY
repo2docker/buildpacks/base.py
repo2docker/buildpacks/base.py
@@ -10,6 +10,9 @@ import docker
TEMPLATE = r"""
FROM buildpack-deps:bionic
+# avoid prompts from apt
+ENV DEBIAN_FRONTEND=noninteractive
+
# Set up locales properly
RUN apt-get update && \
apt-get install --yes --no-install-recommends locales && \

set DEBIAN_FRONTEND=noninteractive

avoids possible prompts during setup of apt packages