Bump CRIU to 3.12
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
parent
6cccc1760d
commit
7e67862542
|
@ -45,14 +45,10 @@ RUN cd /tmp \
|
||||||
&& rm -rf /tmp/bats
|
&& rm -rf /tmp/bats
|
||||||
|
|
||||||
# install criu
|
# install criu
|
||||||
# For CRIU 3.11 one patch is needed for the test 'checkpoint and restore with container specific CRIU config'
|
ENV CRIU_VERSION v3.12
|
||||||
# This should be no longer necessary with CRIU 3.12
|
|
||||||
# See https://github.com/opencontainers/runc/pull/1933
|
|
||||||
ENV CRIU_VERSION v3.11
|
|
||||||
RUN mkdir -p /usr/src/criu \
|
RUN mkdir -p /usr/src/criu \
|
||||||
&& curl -sSL https://github.com/checkpoint-restore/criu/archive/${CRIU_VERSION}.tar.gz | tar -v -C /usr/src/criu/ -xz --strip-components=1 \
|
&& curl -sSL https://github.com/checkpoint-restore/criu/archive/${CRIU_VERSION}.tar.gz | tar -v -C /usr/src/criu/ -xz --strip-components=1 \
|
||||||
&& cd /usr/src/criu \
|
&& cd /usr/src/criu \
|
||||||
&& curl https://github.com/checkpoint-restore/criu/commit/bb0b2f2635d71e549851b7c626a1464e42a3b5c7.patch | patch -p1 \
|
|
||||||
&& make install-criu \
|
&& make install-criu \
|
||||||
&& rm -rf /usr/src/criu
|
&& rm -rf /usr/src/criu
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue