Bug 1356123 - Add missing locales package to the lint docker image. r=gps, a=NPOTB
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 13 Apr 2017 15:16:05 +0900
changeset 395852 8ce0013246f631ac03ad9ee367e1f94efb81b2b8
parent 395851 d56c36ff0b8bc34183f056866de81a6a61c782ec
child 395853 7c2f764882214d853f546fd0eccd8f01a89d16e6
push id1468
push userasasaki@mozilla.com
push dateMon, 05 Jun 2017 19:31:07 +0000
treeherdermozilla-release@0641fc6ee9d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps, NPOTB
bugs1356123
milestone54.0a2
Bug 1356123 - Add missing locales package to the lint docker image. r=gps, a=NPOTB 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[@]}