mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-23 18:19:39 +00:00
nft does not support xtables compat expressions https://git.netfilter.org/nftables/commit/?id=79195a8cc9e9d9cf2d17165bf07ac4cc9d55539f Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
53 lines
787 B
Text
53 lines
787 B
Text
FROM alpine
|
|
ARG CC=gcc
|
|
|
|
RUN apk update && apk add \
|
|
$CC \
|
|
bash \
|
|
build-base \
|
|
coreutils \
|
|
procps \
|
|
git \
|
|
gnutls-dev \
|
|
libaio-dev \
|
|
libcap-dev \
|
|
libnet-dev \
|
|
libnl3-dev \
|
|
nftables \
|
|
nftables-dev \
|
|
pkgconfig \
|
|
protobuf-c-dev \
|
|
protobuf-dev \
|
|
py3-pip \
|
|
py3-protobuf \
|
|
python3 \
|
|
sudo \
|
|
libcap-utils \
|
|
libdrm-dev \
|
|
util-linux
|
|
|
|
COPY . /criu
|
|
WORKDIR /criu
|
|
RUN make mrproper && date && make -j $(nproc) CC="$CC" && date
|
|
|
|
RUN apk add \
|
|
ip6tables \
|
|
iptables \
|
|
iptables-legacy \
|
|
nftables \
|
|
iproute2 \
|
|
tar \
|
|
bash \
|
|
go \
|
|
e2fsprogs \
|
|
py-yaml \
|
|
py3-flake8 \
|
|
py3-importlib-metadata \
|
|
asciidoctor
|
|
|
|
# The rpc test cases are running as user #1000, let's add the user
|
|
RUN adduser -u 1000 -D test
|
|
|
|
RUN pip3 install junit_xml --break-system-packages
|
|
|
|
RUN make -C test/zdtm
|