Bug 1356123 - Add missing locales package to the lint docker image. r?dustin draft
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 13 Apr 2017 15:16:05 +0900
changeset 561758 68f6c6a7bb33dd8c7d5221e591546554089a8be3
parent 561690 aca6b2a5a2ab3338436c9e819dc2244a022b6425
child 561763 6b511bf877ca114bf46a3bd2cdd8840f87a44069
push id53853
push userbmo:mh+mozilla@glandium.org
push dateThu, 13 Apr 2017 06:27:49 +0000
reviewersdustin
bugs1356123
milestone55.0a1
Bug 1356123 - Add missing locales package to the lint docker image. r?dustin For some reason, the locales package is not installed anymore during the docker image build, which leads to the locale-gen command failing, since it's not there.
taskcluster/docker/lint/system-setup.sh
--- a/taskcluster/docker/lint/system-setup.sh
+++ b/taskcluster/docker/lint/system-setup.sh
@@ -6,16 +6,17 @@ set -ve
 
 test `whoami` == 'root'
 
 mkdir -p /setup
 cd /setup
 
 apt_packages=()
 apt_packages+=('curl')
+apt_packages+=('locales')
 apt_packages+=('python')
 apt_packages+=('python-pip')
 apt_packages+=('sudo')
 apt_packages+=('wget')
 apt_packages+=('xz-utils')
 
 apt-get update
 apt-get install -y ${apt_packages[@]}