Skip to content

Commit

Permalink
Update docker_build.sh (#12)
Browse files Browse the repository at this point in the history
Make sure the LANG variable is set, some packages generate unicode decode errors if it isn't set.
  • Loading branch information
dwighthubbard committed Jan 29, 2019
1 parent d2fefdf commit efcc318
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions invirtualenv_plugins/docker_scripts/docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ INSTALLVENV="/var/lib/invirtualenv/installvenv"
VENV_COMMAND="virtualenv"
PYTHON="python3"

if [ "$LANG" = "" ]; then
export LANG="en_US.UTF-8"
fi

function init_directories {
mkdir -p "/var/lib/virtualenvs"
mkdir -p "${INVIRTUALENV_DIR}"
Expand Down

0 comments on commit efcc318

Please sign in to comment.