update criu to 2.12.1

Signed-off-by: Krasi Georgiev <krasi@vip-consult.solutions>
This commit is contained in:
Krasi Georgiev 2017-03-31 21:13:14 +03:00
parent a3c2ccacd0
commit d1a0afacc2

View file

@ -154,8 +154,10 @@ RUN git clone https://github.com/golang/lint.git /go/src/github.com/golang/lint
&& go install -v github.com/golang/lint/golint
# Install CRIU for checkpoint/restore support
ENV CRIU_VERSION 2.9
RUN mkdir -p /usr/src/criu \
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 \
&& cd /usr/src/criu \
&& make \