mirror of
https://github.com/containers/podman.git
synced 2025-10-25 02:04:43 +08:00
tests: add checkpoint/restore test
Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
committed by
Adrian Reber
parent
5bafafc7eb
commit
5246238e7e
12
Dockerfile
12
Dockerfile
@ -18,6 +18,8 @@ RUN apt-get update && apt-get install -y \
|
||||
libaio-dev \
|
||||
libcap-dev \
|
||||
libfuse-dev \
|
||||
libnet-dev \
|
||||
libnl-3-dev \
|
||||
libostree-dev \
|
||||
libprotobuf-dev \
|
||||
libprotobuf-c0-dev \
|
||||
@ -110,6 +112,16 @@ RUN set -x \
|
||||
&& go get -u github.com/mailru/easyjson/... \
|
||||
&& install -D -m 755 "$GOPATH"/bin/easyjson /usr/bin/
|
||||
|
||||
# Install criu
|
||||
ENV CRIU_COMMIT 584cbe4643c3fc7dc901ff08bf923ca0fe7326f9
|
||||
RUN set -x \
|
||||
&& cd /tmp \
|
||||
&& git clone https://github.com/checkpoint-restore/criu.git \
|
||||
&& cd criu \
|
||||
&& make \
|
||||
&& install -D -m 755 criu/criu /usr/sbin/ \
|
||||
&& rm -rf /tmp/criu
|
||||
|
||||
# Install cni config
|
||||
#RUN make install.cni
|
||||
RUN mkdir -p /etc/cni/net.d/
|
||||
|
||||
Reference in New Issue
Block a user