2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 01:51:51 +00:00
criu/scripts/build/Dockerfile.centos7
Adrian Reber 288adfc591 ci: remove ccache setup
ccache was set up in Travis to speed up compilation by re-using the
.ccache directory from previous CI runs. As we are no longer using
Travis we can remove all CI related ccache setup.

Signed-off-by: Adrian Reber <areber@redhat.com>
2021-09-03 10:31:00 -07:00

48 lines
795 B
Docker

FROM centos:7
ARG CC=gcc
ARG ENV1=FOOBAR
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
RUN yum install -y \
findutils \
gcc \
git \
gnutls-devel \
iproute \
iptables \
libaio-devel \
libasan \
libcap-devel \
libnet-devel \
libnl3-devel \
make \
procps-ng \
protobuf-c-devel \
protobuf-devel \
protobuf-python \
python \
python-flake8 \
python-ipaddress \
python2-future \
python2-junit_xml \
python-yaml \
python-six \
sudo \
tar \
which \
e2fsprogs \
python2-pip \
rubygem-asciidoctor
COPY . /criu
WORKDIR /criu
ENV $ENV1=yes
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)