docker: add base ansible image for CentOS 7 (
bug 1261212); r=fubar
In preparation for switching the HG machines from RHEL6 to CentOS 7 in
production.
The base image is from commit 7fccb94631c03fb30109e960c28d23cbdb4a45a3
from the github.com:CentOS/sig-cloud-instance-images.git Git repo.
For now, the Ansible builder is a copy of the CentOS 6 one. Although,
we'll likely need to make changes to support systemd.
MozReview-Commit-ID: 2J16VXjL4p8
copy from testing/docker/builder-ansible-centos6/Dockerfile
copy to testing/docker/builder-ansible-centos7/Dockerfile
--- a/testing/docker/builder-ansible-centos6/Dockerfile
+++ b/testing/docker/builder-ansible-centos7/Dockerfile
@@ -1,13 +1,13 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-FROM secure:mozsecure:centos6:sha256 88cc1475bd58f6ff6f41d50b813c9998c4d3a7167a8a45f8bd0b4a8342dec0db:https://s3-us-west-2.amazonaws.com/moz-packages/docker-images/centos-6-20150615_2019-docker.tar.xz
+FROM secure:mozsecure:centos7:sha256 e1bf9ab86e38f94acae9f84fa3b63c349f4eb0be3f29e92da0eb382e43626f8c:https://s3-us-west-2.amazonaws.com/moz-packages/docker-images/centos-7-20160329-docker.tar.xz
RUN yum update -y && yum install -y gcc libyaml-devel python-devel rsync tar && yum clean all
# Pin setuptools and pip because we've historically had issues with newer versions.
# Plus, pinning ensures reproducibility over time.
# %include scripts/download-verify
ADD extra/vct/scripts/download-verify /tmp/download-verify
copy from testing/docker/builder-ansible-centos6/sync-and-build
copy to testing/docker/builder-ansible-centos7/sync-and-build