Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 679 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 679 Bytes

CRIU Alpine

Use this dockerimage to add criu as part of multi-stage build. To use in multistage build copy all the contents from the /criu directory to / (root) directory.

Ensure to use same alpine image for the final stage, i.e., if we use alpine:3.18.5 with digest sha256:d695c3de6fcd8cfe3a6222b0358425d40adfd129a8a47c3416faff1a8aece389, then:

FROM --platform=amd64 alpine:3.18.5@sha256:d695c3de6fcd8cfe3a6222b0358425d40adfd129a8a47c3416faff1a8aece389

COPY --from=criu-with-nftables:criu-3.19-alpine-3.18.5 /criu/ /

# Install deps
RUN apk --update --no-cache add libnet libnl3 nftables protobuf-c