From 7ffae3d51a452a63c49f8544953a8b0f9781a5e0 Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Mon, 4 Dec 2017 17:45:04 -0500 Subject: [PATCH] CRIU needs a newer version to work with the updates pulled in by containerd 1.0 Signed-off-by: Ross Boucher --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e2c8770117..9520e58b13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,6 +52,7 @@ RUN apt-get update && apt-get install -y \ libapparmor-dev \ libcap-dev \ libdevmapper-dev \ + libnet-dev \ libnl-3-dev \ libprotobuf-c0-dev \ libprotobuf-dev \ @@ -94,11 +95,9 @@ ENV PATH /go/bin:/usr/local/go/bin:$PATH ENV GOPATH /go # Install CRIU for checkpoint/restore support -ENV CRIU_VERSION 2.12.1 -# Install dependancy packages specific to criu -RUN apt-get install libnet-dev -y && \ - mkdir -p /usr/src/criu \ - && curl -sSL https://github.com/xemul/criu/archive/v${CRIU_VERSION}.tar.gz | tar -v -C /usr/src/criu/ -xz --strip-components=1 \ +ENV CRIU_VERSION 3.6 +RUN mkdir -p /usr/src/criu \ + && curl -sSL https://github.com/xemul/criu/archive/v${CRIU_VERSION}.tar.gz | tar -C /usr/src/criu/ -xz --strip-components=1 \ && cd /usr/src/criu \ && make \ && make install-criu