Bug 1269560 - Add a pip.conf to desktop-build; r?dustin draft
authorMaja Frydrychowicz <mjzffr@gmail.com>
Mon, 02 May 2016 21:40:22 -0400
changeset 362700 34735d6d11eb764ea240cfe9f2ab891b136b7d68
parent 358327 77cead2cd20300623eea2416bc9bce4d5021df09
child 362701 b39891280fb0ac29e9e78ed928f6251696afaffd
push id17022
push usermjzffr@gmail.com
push dateTue, 03 May 2016 01:44:16 +0000
reviewersdustin
bugs1269560
milestone49.0a1
Bug 1269560 - Add a pip.conf to desktop-build; r?dustin MozReview-Commit-ID: 132q8GyycYo
testing/docker/desktop-build/Dockerfile
testing/docker/desktop-build/dot-config/pip/pip.conf
--- a/testing/docker/desktop-build/Dockerfile
+++ b/testing/docker/desktop-build/Dockerfile
@@ -1,16 +1,19 @@
 FROM          taskcluster/centos6-build-upd:0.1.6.20160329195300
 MAINTAINER    Dustin J. Mitchell <dustin@mozilla.com>
 
 # Add build scripts; these are the entry points from the taskcluster worker, and
 # operate on environment variables
 ADD             bin /home/worker/bin
 RUN             chmod +x /home/worker/bin/*
 
+# Add configuration
+COPY            dot-config                    /home/worker/.config
+
 # Generate machine uuid file
 RUN dbus-uuidgen --ensure=/var/lib/dbus/machine-id
 
 # Stubbed out credentials; mozharness looks for this file an issues a WARNING
 # if it's not found, which causes the build to fail.  Note that this needs to
 # be in the parent of the workspace directory and in the directory where
 # mozharness is run (not its --work-dir).  See Bug 1169652.
 ADD           oauth.txt /home/worker/
new file mode 100644
--- /dev/null
+++ b/testing/docker/desktop-build/dot-config/pip/pip.conf
@@ -0,0 +1,4 @@
+[global]
+disable-pip-version-check = true
+trusted-host = pypi.pub.build.mozilla.org
+