Skip to content

Commit e79dd2c

Browse files
committed
docker: fix configure tzdata interaction
1 parent 01393a6 commit e79dd2c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ The very first time you launch Docker, create the container with:
417417

418418
You are now left inside a shell in the Docker guest.
419419

420-
From there, run the exact same commands that you would on a native install: <<getting-started>>
420+
From there, run the exact same commands that you would on a native install: <<qemu-buildroot-setup>>.
421421

422422
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.
423423

configure

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ pkgs="$pkgs libelf-dev"
7878

7979
# https://stackoverflow.com/questions/20010199/determining-if-a-process-runs-inside-lxc-docker
8080
if [ -f /.dockerenv ]; then
81+
# https://askubuntu.com/questions/909277/avoiding-user-interaction-with-tzdata-when-installing-certbot-in-a-docker-contai
82+
export DEBIAN_FRONTEND=noninteractive
8183
mysudo=
8284
# https://askubuntu.com/questions/496549/error-you-must-put-some-source-uris-in-your-sources-list
8385
sed -Ei 's/^# deb-src/deb-src/' /etc/apt/sources.list

0 commit comments

Comments
 (0)