From 5604ccbe6091e50201ac3a28d83468aa0b01feaa Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Sat, 2 Jun 2018 00:03:00 +0300 Subject: [PATCH] build/docker: install packages to run tests Signed-off-by: Andrei Vagin --- scripts/build/Dockerfile.alpine | 7 +++++-- scripts/build/Dockerfile.centos | 6 +++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/scripts/build/Dockerfile.alpine b/scripts/build/Dockerfile.alpine index 21647e1e1..c35104c64 100644 --- a/scripts/build/Dockerfile.alpine +++ b/scripts/build/Dockerfile.alpine @@ -31,7 +31,10 @@ RUN apk add \ iptables \ iproute2 \ tar \ - bash + bash \ + go \ + e2fsprogs \ + asciidoc xmlto -RUN pip install protobuf ipaddress +RUN pip install protobuf ipaddress junit_xml RUN make -C test/zdtm diff --git a/scripts/build/Dockerfile.centos b/scripts/build/Dockerfile.centos index 379a84596..5f8470773 100644 --- a/scripts/build/Dockerfile.centos +++ b/scripts/build/Dockerfile.centos @@ -24,10 +24,14 @@ RUN yum install -y \ python \ python-ipaddress \ python2-future \ + python2-junit_xml \ python-yaml \ python-six \ tar \ - which + which \ + e2fsprogs \ + python2-pip \ + asciidoc xmlto COPY . /criu WORKDIR /criu