mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
criu_run_id will be used in upcoming changes to create and remove network rules for network locking. Instead of trying to come up with a way to create unique IDs, just use an existing library. libuuid should be installed on most systems as it is indirectly required by systemd (via libmount). Signed-off-by: Adrian Reber <areber@redhat.com>
35 lines
630 B
Docker
35 lines
630 B
Docker
FROM docker.io/library/ibm-semeru-runtimes:open-11-jdk-focal
|
|
ARG CC=gcc
|
|
|
|
COPY scripts/ci/apt-install /bin/apt-install
|
|
|
|
RUN apt-install protobuf-c-compiler \
|
|
libprotobuf-c-dev \
|
|
libaio-dev \
|
|
libprotobuf-dev \
|
|
protobuf-compiler \
|
|
libcap-dev \
|
|
libnl-3-dev \
|
|
gdb \
|
|
bash \
|
|
python3-protobuf \
|
|
python3-yaml \
|
|
libnet-dev \
|
|
libnl-route-3-dev \
|
|
libbsd-dev \
|
|
make \
|
|
git \
|
|
pkg-config \
|
|
iptables \
|
|
gcc \
|
|
uuid-dev \
|
|
maven
|
|
|
|
RUN mkdir -p /etc/criu && echo 'ghost-limit 16777216' > /etc/criu/default.conf
|
|
COPY . /criu
|
|
WORKDIR /criu
|
|
|
|
RUN make mrproper && make -j $(nproc) CC="$CC"
|
|
|
|
ENTRYPOINT mvn -f test/javaTests/pom.xml test
|