Skip to content

Dockerfile does not build #835

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

Closed
peti opened this issue Jul 11, 2019 · 2 comments · Fixed by #836
Closed

Dockerfile does not build #835

peti opened this issue Jul 11, 2019 · 2 comments · Fixed by #836

Comments

@peti
Copy link
Contributor

peti commented Jul 11, 2019

While building the docker container, the installation of postfix requires user interaction that does not work:

debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Postfix Configuration
---------------------

Please select the mail server configuration type that best meets your needs.

 No configuration:
  Should be chosen to leave the current configuration unchanged.
 Internet site:
  Mail is sent and received directly using SMTP.
 Internet with smarthost:
  Mail is received directly using SMTP or by running a utility such
  as fetchmail. Outgoing mail is sent using a smarthost.
 Satellite system:
  All mail is sent to another machine, called a 'smarthost', for delivery.
 Local only:
  The only delivered mail is the mail for local users. There is no network.

  1. No configuration  3. Internet with smarthost  5. Local only
  2. Internet Site     4. Satellite system
General type of mail configuration: 

There is no way to answer that question; user input in the shell has no effect.

@peti
Copy link
Contributor Author

peti commented Jul 11, 2019

#826 addresses this issue, apparently, but the PR seems to be stuck.

peti added a commit to peti/hackage-server that referenced this issue Jul 11, 2019
…d user interaction

Without that setting, the docker build fails to install postfix. See
https://askubuntu.com/questions/556385/how-can-i-install-apt-packages-non-interactively
for further details.

Fixes haskell#835.
@hvr
Copy link
Member

hvr commented Aug 5, 2019

It's fixed properly now via 3a5bc1a

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

Successfully merging a pull request may close this issue.

2 participants