Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avmnu-sng/criu-alpine
CRIU Dockerimage for multi-stage builds
https://github.com/avmnu-sng/criu-alpine
criu docker dockerfile dockerimage multistage-docker
Last synced: about 2 months ago
JSON representation
CRIU Dockerimage for multi-stage builds
- Host: GitHub
- URL: https://github.com/avmnu-sng/criu-alpine
- Owner: avmnu-sng
- Created: 2024-01-09T15:39:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-31T07:45:00.000Z (about 1 year ago)
- Last Synced: 2024-10-19T14:39:20.363Z (4 months ago)
- Topics: criu, docker, dockerfile, dockerimage, multistage-docker
- Language: Dockerfile
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## CRIU Alpine
Use this dockerimage to add [criu](https://github.com/checkpoint-restore/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:```dockerfile
FROM --platform=amd64 alpine:3.18.5@sha256:d695c3de6fcd8cfe3a6222b0358425d40adfd129a8a47c3416faff1a8aece389COPY --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
```