ARG CC=gcc COPY contrib/dependencies/dnf-packages.sh /criu/contrib/dependencies/dnf-packages.sh COPY scripts/ci/prepare-for-fedora-rawhide.sh /criu/scripts/ci/prepare-for-fedora-rawhide.sh # prepare-for-fedora-rawhide.sh assumes we are in the criu directory WORKDIR /criu RUN dnf install -y "$CC" && /criu/scripts/ci/prepare-for-fedora-rawhide.sh COPY . /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 adduser -u 1000 test RUN make -C test/zdtm -j $(nproc)