From bb446e00ce3ae4cf1ffffdb5895445fee3e64d7f Mon Sep 17 00:00:00 2001 From: Aiko Mastboom Date: Sat, 9 May 2015 17:03:28 +0200 Subject: [PATCH] changed FROM --- image/Dockerfile | 3 ++- image/prepare.sh | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) 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