mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
This reverts commit f008f74041.
Signed-off-by: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
43 lines
611 B
Text
43 lines
611 B
Text
FROM docker.io/library/archlinux:latest
|
|
|
|
ARG CC=gcc
|
|
|
|
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 \
|
|
flake8 \
|
|
asciidoctor \
|
|
python-junit-xml \
|
|
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
|