Docker image updates for integration tests. (#26054)

* Sort packages to install.
* Add python-argparse to centos6 docker image.
* Add gcc and python dev lib to docker images.
* Add python cryptography to docker images.
* Add coverage using pip instead of OS packages.
* Update old pip versions in docker images.
* Exclude */pyshared/* from coverage reporting.
This commit is contained in:
Matt Clay
2017-06-23 12:45:38 -07:00
committed by GitHub
parent 3e52f47b51
commit 4530eea7f8
11 changed files with 33 additions and 22 deletions

View File

@@ -20,8 +20,8 @@ RUN zypper --non-interactive --gpg-auto-import-keys refresh && \
mercurial \
openssh \
postgresql-server \
python-coverage \
python-cryptography \
python-devel \
python-httplib2 \
python-jinja2 \
python-keyczar \
@@ -71,6 +71,6 @@ RUN ssh-keygen -q -t rsa1 -N '' -f /etc/ssh/ssh_host_key && \
for key in /etc/ssh/ssh_host_*_key.pub; do echo "localhost $(cat ${key})" >> /root/.ssh/known_hosts; done
# explicitly enable the service, opensuse default to disabled services
RUN systemctl enable sshd.service
RUN pip install junit-xml
RUN pip install coverage junit-xml
ENV container=docker
CMD ["/sbin/init"]