summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAdrian Reber <areber@redhat.com>2018-09-20 13:46:50 +0000
committerAdrian Reber <adrian@lisas.de>2018-10-03 21:41:40 +0200
commit5246238e7efbf9280e07f45df9ee14ecc3404f20 (patch)
tree48a652f93e71646b025d511a47e97662ef706d8a /Dockerfile
parent5bafafc7eb31152b12627a1bf07657013ee01027 (diff)
downloadpodman-5246238e7efbf9280e07f45df9ee14ecc3404f20.tar.gz
podman-5246238e7efbf9280e07f45df9ee14ecc3404f20.tar.bz2
podman-5246238e7efbf9280e07f45df9ee14ecc3404f20.zip
tests: add checkpoint/restore test
Signed-off-by: Adrian Reber <areber@redhat.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 749c5edb9..2c43cb046 100644
--- a/Dockerfile
+++ b/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/