mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 13:28:27 +00:00
Dockerfile: add missing test dependencies
This patch adds missing dependencies required to run the zdtm tests. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
3074b6d5a2
commit
e3c0fa7011
6
Makefile
6
Makefile
@ -77,7 +77,7 @@ ifeq ($(ARCH),x86)
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),mips)
|
||||
DEFINES := -DCONFIG_MIPS
|
||||
DEFINES := -DCONFIG_MIPS
|
||||
endif
|
||||
|
||||
#
|
||||
@ -369,11 +369,11 @@ gcov:
|
||||
.PHONY: gcov
|
||||
|
||||
docker-build:
|
||||
$(MAKE) -C scripts/build/ x86_64
|
||||
$(MAKE) -C scripts/build/ x86_64
|
||||
.PHONY: docker-build
|
||||
|
||||
docker-test:
|
||||
docker run --rm -it --privileged criu-x86_64 ./test/zdtm.py run -a -x tcp6 -x tcpbuf6 -x static/rtc -x cgroup
|
||||
docker run --rm -it --privileged -v /lib/modules:/lib/modules criu-x86_64 ./test/zdtm.py run -a -x tcp6 -x tcpbuf6 -x static/rtc -x cgroup
|
||||
.PHONY: docker-test
|
||||
|
||||
help:
|
||||
|
@ -2,6 +2,8 @@ ARG CC=gcc
|
||||
|
||||
COPY scripts/ci/apt-install /bin/apt-install
|
||||
|
||||
# On Ubuntu, kernel modules such as ip_tables and xt_mark may not be loaded by default
|
||||
# We need to install kmod to enable iptables to load these modules for us.
|
||||
RUN apt-install \
|
||||
libnet-dev \
|
||||
libnl-route-3-dev \
|
||||
@ -20,10 +22,15 @@ RUN apt-install \
|
||||
libprotobuf-c-dev \
|
||||
libprotobuf-dev \
|
||||
libselinux-dev \
|
||||
iproute2 \
|
||||
kmod \
|
||||
pkg-config \
|
||||
protobuf-c-compiler \
|
||||
protobuf-compiler \
|
||||
python-is-python3 \
|
||||
python3-minimal \
|
||||
python3-protobuf \
|
||||
python3-yaml \
|
||||
python3-future
|
||||
|
||||
COPY . /criu
|
||||
|
Loading…
x
Reference in New Issue
Block a user