Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 20.04 - timezone choosing hanging #568

Closed
Perlover opened this issue Feb 23, 2021 · 1 comment
Closed

Ubuntu 20.04 - timezone choosing hanging #568

Perlover opened this issue Feb 23, 2021 · 1 comment

Comments

@Perlover
Copy link
Contributor

OS: Linux Mint 20 (Ubuntu 20.04 base)
commit: db597c1
If I do make BASE_IMAGE=ubuntu:20.04 all-bitcoin I got a hanging of scripts at timezone choosing:

Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2) ...
Setting up tzdata (2021a-0ubuntu0.20.04) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Configuring tzdata
------------------

Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.

  1. Africa      4. Australia  7. Atlantic  10. Pacific  13. Etc
  2. America     5. Arctic     8. Europe    11. SystemV
  3. Antarctica  6. Asia       9. Indian    12. US
Geographic area: ^Cmake[1]: *** [Makefile:47: .bin-image] Прерывание
make: *** [Makefile:44: build-images] Прерывание

I try to enter string 8 and Enter and Europe and Enter but nothing happens.
I think there is some utility dialog problem which missings in Docker scripts.
I googled like same problem here: moby/moby#27988 (comment)

@Perlover
Copy link
Contributor Author

Perlover commented Feb 23, 2021

My problem was resolved by this hint:

#45 (comment)

I added the line ARG DEBIAN_FRONTEND=noninteractive to build/docker/bin/Dockerfile after FROM $BASE_IMAGE:

# initialize from the image defined by BASE_IMAGE
ARG BASE_IMAGE
FROM $BASE_IMAGE
ARG DEBIAN_FRONTEND=noninteractive

After the make BASE_IMAGE=ubuntu:20.04 all-bitcoin works here
I think you need to add this line because in anyway the noninteractive mode is good for docker build script (I hope)

Perlover added a commit to Perlover/blockbook that referenced this issue Feb 23, 2021
martinboehm pushed a commit that referenced this issue Feb 23, 2021
The problem was described here:

#568
sidhujag pushed a commit to syscoin/blockbook that referenced this issue Feb 24, 2021
bidoudan pushed a commit to stibits-inc/blockbook that referenced this issue Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants