Skip to content

Commit

Permalink
apt-get fixes (#406)
Browse files Browse the repository at this point in the history
* apt-fixes

* DEBIAN_FRONTEND teletype at the end
  • Loading branch information
hyperknot committed May 9, 2017
1 parent 7f77348 commit 2a8c9eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions image/Dockerfile
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion image/prepare.sh
Expand Up @@ -28,14 +28,17 @@ 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

## Install add-apt-repository
$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
Expand Down

0 comments on commit 2a8c9eb

Please sign in to comment.