-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Description
This is a minor issue because debconf still runs but this morning I started getting the following warnings when building the php-fpm container using the latest tag:
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
I fixed it by changing the php-fpm Dockerfile's apt install stuff to set DEBIAN_FRONTEND=noninteractive
like this:
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install [...]
If other people are experiencing the same issue then I'd be happy to open a PR with this modification. At a guess I think it would be related to the move to bionic.
Metadata
Metadata
Assignees
Labels
No labels