mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-05-07 06:16:26 +00:00
smaller contexts for efi and bios
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
This commit is contained in:
committed by
Justin Cormack
parent
c498f7ac23
commit
71e33e3a08
@@ -1,14 +1,10 @@
|
||||
# Create a EFI Bootable ISO
|
||||
FROM alpine:3.4
|
||||
|
||||
ENV ARCH=x86_64
|
||||
|
||||
RUN apk add --no-cache binutils mtools xorriso gummiboot
|
||||
|
||||
RUN mkdir -p /tmp/efi
|
||||
|
||||
COPY initrd.img.gz /tmp/efi
|
||||
COPY kernel/$ARCH/vmlinuz64 /tmp/efi
|
||||
COPY initrd.img.gz /tmp/efi/
|
||||
COPY kernel/x86_64/vmlinuz64 /tmp/efi/
|
||||
|
||||
# Create a EFI boot file with kernel and initrd. From:
|
||||
# https://github.com/haraldh/mkrescue-uefi/blob/master/mkrescue-uefi.sh
|
||||
|
||||
Reference in New Issue
Block a user