mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-23 01:59:04 +00:00
This job is optional and it don't affect the status of a whole job. Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
15 lines
533 B
Cheetah
15 lines
533 B
Cheetah
ARG CC=gcc
|
|
ARG ENV1=FOOBAR
|
|
|
|
RUN dnf install -y git gcc make
|
|
RUN dnf install -y protobuf-devel protobuf-c-devel libaio-devel libcap-devel libnl3-devel libnet-devel
|
|
RUN dnf install -y python ccache libasan findutils tar python-yaml protobuf-python iptables iproute python-ipaddr procps-ng
|
|
|
|
COPY . /criu
|
|
WORKDIR /criu
|
|
|
|
ENV CCACHE_DIR=/tmp/.ccache CCACHE_NOCOMPRESS=1 $ENV1=yes
|
|
RUN mv .ccache /tmp && make mrproper && ccache -s && ccache -z && \
|
|
date && make -j $(nproc) CC="$CC" && date && ccache -s
|
|
RUN make -C test/zdtm -j $(nproc)
|
|
|