diff --git a/build.sh b/build.sh index 45c0e55..4225fe1 100755 --- a/build.sh +++ b/build.sh @@ -11,6 +11,7 @@ build_packages=( install_packages=( docker-ce jq + locales make sudo zip @@ -29,6 +30,10 @@ apt-get update # Install packages to stay in the image apt-get install -y --no-install-recommends ${install_packages[@]} +# Install en_US locale +sed -Ei 's/# (en_US.UTF-8.*)/\1/' /etc/locale.gen +locale-gen + # Allow jenkins to use `sudo` and docker echo "jenkins ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers.d/jenkins usermod -a -G docker jenkins