From 8054411e40acea29b794c71fd9b0fd447bf066db Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Sun, 17 Oct 2021 05:12:47 +0200 Subject: [PATCH] ci: dockerfile: avoid being asked question during apt-get --- integration-tests/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/integration-tests/Dockerfile b/integration-tests/Dockerfile index c4c9ae0..004129a 100644 --- a/integration-tests/Dockerfile +++ b/integration-tests/Dockerfile @@ -2,7 +2,10 @@ ARG ubuntu_version=20.04 FROM ubuntu:${ubuntu_version} -RUN apt-get update \ +# DEBIAN_FRONTEND is set to avoid being asked for input and hang during build: +# https://anonoz.github.io/tech/2020/04/24/docker-build-stuck-tzdata.html +RUN DEBIAN_FRONTEND=noninteractive \ + && apt-get update \ && apt-get install --yes \ systemd \ curl \