From 8882feed84ac028c111f1288dc0fac6ede489954 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Mon, 25 Jan 2021 09:39:47 +0000 Subject: [PATCH] Dorkerfile: Set a default TZ and non-interactive install Set DEBIAN_FRONTEND to prevent waiting on user input and provide a default timezone before package installation. --- extras/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extras/Dockerfile b/extras/Dockerfile index d29fad23..cd194c6e 100644 --- a/extras/Dockerfile +++ b/extras/Dockerfile @@ -58,6 +58,10 @@ ARG DEVLIB_REF=v1.3 ARG WA_REF=v3.3 ARG ANDROID_SDK_URL=https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip +# Set a default timezone to use +ENV TZ=Europe/London + +ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y \ apache2-utils \ bison \