tests: add perl-JSON to the test images too.

Needed for the runner tests.
This commit is contained in:
David Wilson 2018-04-17 15:01:13 +01:00
parent ac80bf12f0
commit 7e49e73683
1 changed files with 4 additions and 2 deletions

View File

@ -15,14 +15,16 @@ DEBIAN_DOCKERFILE = r"""
FROM debian:stable
RUN apt-get update
RUN \
apt-get install -y python2.7 openssh-server sudo rsync git strace && \
apt-get install -y python2.7 openssh-server sudo rsync git strace \
libjson-perl && \
apt-get clean
"""
CENTOS_DOCKERFILE = r"""
FROM centos:7
RUN yum clean all && \
yum -y install -y python2.7 openssh-server sudo rsync git strace sudo && \
yum -y install -y python2.7 openssh-server sudo rsync git strace sudo \
perl-JSON && \
yum clean all && \
groupadd sudo && \
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key