criu/scripts/build/Dockerfile.centos7
Radostin Stoyanov e3b694392d scripts/build: drop obsolete ENV1 variable
The ENV1 variable was first introduced with commit
7290de5 (travis: enable ccache for docker/qemu builds)
and it is not used anymore.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2021-09-03 10:31:00 -07:00

45 lines
765 B
Text

FROM centos:7
ARG CC=gcc
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
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)