criu/scripts/build/Dockerfile.archlinux
Adrian Reber 6b842635bd test: disable rseq also on Archlinux
Seems like Archlinux also uses rseq now and that breaks CRIU.
Also disable rseq on Archlinux.

Signed-off-by: Adrian Reber <areber@redhat.com>
2022-04-28 17:53:52 -07:00

46 lines
739 B
Text

FROM docker.io/library/archlinux:latest
# FIXME: Temporary solution for https://github.com/checkpoint-restore/criu/issues/1696
ENV GLIBC_TUNABLES=glibc.pthread.rseq=0
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