From e79dd2c786638c4d826d214f39c0081418cfeafa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Sat, 15 Sep 2018 00:33:29 +0100 Subject: [PATCH] docker: fix configure tzdata interaction --- README.adoc | 2 +- configure | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 2a46d65..c783697 100644 --- a/README.adoc +++ b/README.adoc @@ -417,7 +417,7 @@ The very first time you launch Docker, create the container with: You are now left inside a shell in the Docker guest. -From there, run the exact same commands that you would on a native install: <> +From there, run the exact same commands that you would on a native install: <>. The host git top level directory is mounted inside the guest, which means for example that you can use your host's GUI text editor directly on the files. diff --git a/configure b/configure index 876ada8..b8c24af 100755 --- a/configure +++ b/configure @@ -78,6 +78,8 @@ pkgs="$pkgs libelf-dev" # https://stackoverflow.com/questions/20010199/determining-if-a-process-runs-inside-lxc-docker if [ -f /.dockerenv ]; then + # https://askubuntu.com/questions/909277/avoiding-user-interaction-with-tzdata-when-installing-certbot-in-a-docker-contai + export DEBIAN_FRONTEND=noninteractive mysudo= # https://askubuntu.com/questions/496549/error-you-must-put-some-source-uris-in-your-sources-list sed -Ei 's/^# deb-src/deb-src/' /etc/apt/sources.list