diff --git a/image/Dockerfile b/image/Dockerfile index 4571e5c..ef068d6 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -1,4 +1,5 @@ -FROM ubuntu:14.04 +# FROM ubuntu:14.04 +FROM resin/rpi-raspbian:wheezy MAINTAINER Phusion ENV HOME /root diff --git a/image/prepare.sh b/image/prepare.sh index 3c2baac..c0cefe1 100755 --- a/image/prepare.sh +++ b/image/prepare.sh @@ -42,8 +42,11 @@ $minimal_apt_get_install software-properties-common apt-get dist-upgrade -y --no-install-recommends ## Fix locale. -$minimal_apt_get_install language-pack-en -locale-gen en_US +# $minimal_apt_get_install language-pack-en +#locale-gen en_US +$minimal_apt_get_install locales +echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen +/usr/sbin/locale-gen update-locale LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 echo -n en_US.UTF-8 > /etc/container_environment/LANG echo -n en_US.UTF-8 > /etc/container_environment/LC_CTYPE