Merge pull request #1240 from dannysu/fix_docker

Fix broken docker build

Dominik Sander 8 years ago
parent
commit
91d69b2a37
1 changed files with 3 additions and 1 deletions
  1. 3 1
      docker/scripts/setup

+ 3 - 1
docker/scripts/setup

@@ -1,6 +1,8 @@
1 1
 #!/bin/bash
2 2
 set -e
3 3
 
4
+locale-gen en_US.UTF-8
5
+
4 6
 # Shallow clone the huginn project repo
5 7
 git clone --depth 1 https://github.com/cantino/huginn /app
6 8
 
@@ -25,7 +27,7 @@ if [ -d "/scripts/cache" ]; then
25 27
   chown -R huginn:huginn vendor/cache
26 28
 fi
27 29
 sudo -u huginn -H cp .env.example .env
28
-sudo -u huginn -H ON_HEROKU=true bundle install --deployment --without test
30
+sudo -u huginn -H LC_ALL="en_US.UTF-8" LANG="en_US.UTF-8" ON_HEROKU=true bundle install --deployment --without test
29 31
 sudo -u huginn -H rm .env
30 32
 
31 33
 # silence setlocale message (THANKS DEBIAN!)