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
2
Makefile
2
Makefile
@ -373,7 +373,7 @@ docker-build:
|
|||||||
.PHONY: docker-build
|
.PHONY: docker-build
|
||||||
|
|
||||||
docker-test:
|
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
|
.PHONY: docker-test
|
||||||
|
|
||||||
help:
|
help:
|
||||||
|
@ -2,6 +2,8 @@ ARG CC=gcc
|
|||||||
|
|
||||||
COPY scripts/ci/apt-install /bin/apt-install
|
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 \
|
RUN apt-install \
|
||||||
libnet-dev \
|
libnet-dev \
|
||||||
libnl-route-3-dev \
|
libnl-route-3-dev \
|
||||||
@ -20,10 +22,15 @@ RUN apt-install \
|
|||||||
libprotobuf-c-dev \
|
libprotobuf-c-dev \
|
||||||
libprotobuf-dev \
|
libprotobuf-dev \
|
||||||
libselinux-dev \
|
libselinux-dev \
|
||||||
|
iproute2 \
|
||||||
|
kmod \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
protobuf-c-compiler \
|
protobuf-c-compiler \
|
||||||
protobuf-compiler \
|
protobuf-compiler \
|
||||||
|
python-is-python3 \
|
||||||
python3-minimal \
|
python3-minimal \
|
||||||
|
python3-protobuf \
|
||||||
|
python3-yaml \
|
||||||
python3-future
|
python3-future
|
||||||
|
|
||||||
COPY . /criu
|
COPY . /criu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user