mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
criu: use libuuid for criu_run_id generation
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>
This commit is contained in:
parent
815ef68848
commit
54795f174b
26 changed files with 48 additions and 24 deletions
|
|
@ -24,7 +24,8 @@ RUN apk update && apk add \
|
|||
sudo \
|
||||
libcap-utils \
|
||||
libdrm-dev \
|
||||
util-linux
|
||||
util-linux \
|
||||
util-linux-dev
|
||||
|
||||
COPY . /criu
|
||||
WORKDIR /criu
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ RUN apt-get clean -qqy && apt-get update -qqy && apt-get install -qqy --no-insta
|
|||
python-protobuf \
|
||||
python3-minimal \
|
||||
python-ipaddress \
|
||||
uuid-dev \
|
||||
curl \
|
||||
wget \
|
||||
vim \
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ RUN pacman -Syu --noconfirm \
|
|||
python-junit-xml \
|
||||
python-importlib-metadata \
|
||||
libdrm \
|
||||
util-linux-libs \
|
||||
diffutils
|
||||
|
||||
COPY . /criu
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ RUN apk update && apk add \
|
|||
maven \
|
||||
ip6tables \
|
||||
iptables \
|
||||
util-linux-dev \
|
||||
bash
|
||||
|
||||
COPY . /criu
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ RUN apt-install protobuf-c-compiler \
|
|||
pkg-config \
|
||||
iptables \
|
||||
gcc \
|
||||
uuid-dev \
|
||||
maven
|
||||
|
||||
COPY . /criu
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ RUN apt-install \
|
|||
pkg-config \
|
||||
protobuf-c-compiler \
|
||||
protobuf-compiler \
|
||||
uuid-dev \
|
||||
python3-minimal
|
||||
|
||||
COPY . /criu
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ RUN apt-install protobuf-c-compiler \
|
|||
pkg-config \
|
||||
iptables \
|
||||
gcc \
|
||||
uuid-dev \
|
||||
maven
|
||||
|
||||
RUN mkdir -p /etc/criu && echo 'ghost-limit 16777216' > /etc/criu/default.conf
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ RUN apt-get install -y --no-install-recommends \
|
|||
libprotobuf-c-dev:${DEBIAN_ARCH} \
|
||||
libcap-dev:${DEBIAN_ARCH} \
|
||||
libaio-dev:${DEBIAN_ARCH} \
|
||||
uuid-dev:${DEBIAN_ARCH} \
|
||||
libnl-route-3-dev:${DEBIAN_ARCH} \
|
||||
libnftables-dev:${DEBIAN_ARCH} \
|
||||
libgnutls28-dev:${DEBIAN_ARCH} \
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ RUN apt-install \
|
|||
libnl-3-dev:${DEBIAN_ARCH} \
|
||||
libprotobuf-dev:${DEBIAN_ARCH} \
|
||||
libnet-dev:${DEBIAN_ARCH} \
|
||||
uuid-dev:${DEBIAN_ARCH} \
|
||||
libprotobuf-c-dev:${DEBIAN_ARCH} \
|
||||
libcap-dev:${DEBIAN_ARCH} \
|
||||
libaio-dev:${DEBIAN_ARCH} \
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ RUN apt-install \
|
|||
protobuf-compiler \
|
||||
python3-minimal \
|
||||
python3-protobuf \
|
||||
uuid-dev \
|
||||
python3-yaml
|
||||
|
||||
COPY . /criu
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RUN apt-install \
|
|||
python3-protobuf \
|
||||
libnl-3-dev:${DEBIAN_ARCH} \
|
||||
libprotobuf-dev:${DEBIAN_ARCH} \
|
||||
uuid-dev:${DEBIAN_ARCH} \
|
||||
libnet-dev:${DEBIAN_ARCH} \
|
||||
libprotobuf-c-dev:${DEBIAN_ARCH} \
|
||||
libcap-dev:${DEBIAN_ARCH} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue