criu/scripts/build/Dockerfile.alpine
Andrei Vagin 4cd4a6b1ac zdtm: stop importing junit_xml
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>
2025-09-15 11:38:54 +01:00

51 lines
739 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 \
util-linux-dev
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-importlib-metadata \
asciidoctor
# The rpc test cases are running as user #1000, let's add the user
RUN adduser -u 1000 -D test
RUN make -C test/zdtm