浏览代码

Fix broken docker build

Danny Su 9 年之前
父节点
当前提交
899b488fbf
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      docker/scripts/setup

+ 3 - 1
docker/scripts/setup

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