apt-get fixes (#406)

* apt-fixes

* DEBIAN_FRONTEND teletype at the end
This commit is contained in:
Zsolt Ero
2017-05-09 11:39:43 +02:00
committed by GitHub
parent 7f77348a6b
commit 2a8c9ebe38
2 changed files with 6 additions and 1 deletions

View File

@@ -9,6 +9,8 @@ RUN /bd_build/prepare.sh && \
/bd_build/fix_pam_bug.sh && \
/bd_build/cleanup.sh
ENV DEBIAN_FRONTEND teletype
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

View File

@@ -28,6 +28,9 @@ ln -sf /bin/true /sbin/initctl
dpkg-divert --local --rename --add /usr/bin/ischroot
ln -sf /bin/true /usr/bin/ischroot
# apt-utils fix for Ubuntu 16.04
$minimal_apt_get_install apt-utils
## Install HTTPS support for APT.
$minimal_apt_get_install apt-transport-https ca-certificates
@@ -35,7 +38,7 @@ $minimal_apt_get_install apt-transport-https ca-certificates
$minimal_apt_get_install software-properties-common
## Upgrade all packages.
apt-get dist-upgrade -y --no-install-recommends
apt-get dist-upgrade -y --no-install-recommends -o Dpkg::Options::="--force-confold"
## Fix locale.
$minimal_apt_get_install language-pack-en