Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit bf61271

Browse files
committed
[19.03] Dockerfile: move CRIU_VERSION lower
Match the position with where it's on master after the Dockerfile buildkit refactor. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: c77e7cb3d0e4fcfa0741037673423c0e933981ec Component: engine
1 parent 30c60fc commit bf61271

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

components/engine/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ ENV GO111MODULE=off
3737

3838
FROM base AS criu
3939
ARG DEBIAN_FRONTEND
40-
# Install CRIU for checkpoint/restore support
41-
ENV CRIU_VERSION 3.12
4240
# Install dependency packages specific to criu
4341
RUN apt-get update && apt-get install -y --no-install-recommends \
4442
libnet-dev \
@@ -50,6 +48,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5048
protobuf-c-compiler \
5149
python-protobuf \
5250
&& rm -rf /var/lib/apt/lists/*
51+
52+
# Install CRIU for checkpoint/restore support
53+
ENV CRIU_VERSION 3.12
5354
RUN mkdir -p /usr/src/criu \
5455
&& curl -sSL https://github.com/checkpoint-restore/criu/archive/v${CRIU_VERSION}.tar.gz | tar -C /usr/src/criu/ -xz --strip-components=1 \
5556
&& cd /usr/src/criu \

0 commit comments

Comments
 (0)