fickit: Add kexec
This commit is contained in:
parent
8d8d8d7c82
commit
68bd43c7ce
|
@ -1,3 +1,4 @@
|
||||||
image: boot
|
image: boot
|
||||||
|
network: true
|
||||||
arches:
|
arches:
|
||||||
- amd64
|
- amd64
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
FROM alpine:edge AS mirror
|
||||||
|
|
||||||
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
|
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ --initdb -p /out \
|
||||||
|
kexec-tools
|
||||||
|
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||||
|
|
||||||
|
FROM scratch
|
||||||
|
COPY --from=mirror /out/ /
|
|
@ -0,0 +1,11 @@
|
||||||
|
image: kexec
|
||||||
|
network: true
|
||||||
|
config:
|
||||||
|
binds:
|
||||||
|
- /dev:/dev
|
||||||
|
capabilities:
|
||||||
|
- CAP_SYS_BOOT
|
||||||
|
net: new
|
||||||
|
ipc: new
|
||||||
|
arches:
|
||||||
|
- amd64
|
Loading…
Reference in New Issue