mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
upgrade criu to v3.7
The current version of criu bundled in dockerfile failed to do checkpoint/restore test on my system (v4.14.14). Upgrade to latest version v3.7 and also change the repository name to point to the current official repo. Signed-off-by: Daniel Dao <dqminh89@gmail.com>
This commit is contained in:
+2
-2
@@ -38,9 +38,9 @@ RUN cd /tmp \
|
||||
&& rm -rf /tmp/bats
|
||||
|
||||
# install criu
|
||||
ENV CRIU_VERSION 3ca8e575b49763030d3ddfec4af190a4c9f9deef
|
||||
ENV CRIU_VERSION v3.7
|
||||
RUN mkdir -p /usr/src/criu \
|
||||
&& curl -sSL https://github.com/xemul/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 \
|
||||
&& make install-criu \
|
||||
&& rm -rf /usr/src/criu
|
||||
|
||||
Reference in New Issue
Block a user