mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
We are dropping support for generating JUnit XML reports in zdtm.py as we've migrated testing infrastructure entirely to `GitHub Actions` and other third-party test runners. This package has been removed from some distribution repositories (e.g., Fedora), making it simpler to remove the dependency than to force installation via pip. Signed-off-by: Andrei Vagin <avagin@google.com>
47 lines
693 B
Text
47 lines
693 B
Text
FROM docker.io/library/archlinux:latest
|
|
|
|
ARG CC=gcc
|
|
|
|
# Initialize machine ID
|
|
RUN systemd-machine-id-setup
|
|
|
|
RUN pacman -Syu --noconfirm \
|
|
$CC \
|
|
bash \
|
|
make \
|
|
coreutils \
|
|
git \
|
|
gnutls \
|
|
libaio \
|
|
libcap \
|
|
libnet \
|
|
libnl \
|
|
nftables \
|
|
pkgconfig \
|
|
protobuf-c \
|
|
protobuf \
|
|
python-pip \
|
|
python-protobuf \
|
|
which \
|
|
sudo \
|
|
iptables \
|
|
nftables \
|
|
iproute2 \
|
|
tar \
|
|
bash \
|
|
go \
|
|
python-yaml \
|
|
asciidoctor \
|
|
python-importlib-metadata \
|
|
libdrm \
|
|
util-linux-libs \
|
|
diffutils
|
|
|
|
COPY . /criu
|
|
WORKDIR /criu
|
|
RUN make mrproper && date && make -j $(nproc) CC="$CC" && date
|
|
|
|
# The rpc test cases are running as user #1000, let's add the user
|
|
RUN useradd -u 1000 test
|
|
|
|
RUN make -C test/zdtm
|