Files
linuxkit/tools/mkimage-iso-efi/Dockerfile
Ian Campbell fb242fad9d tools: Calculate EFI ESP FAT FS size based on contents.
This requires switching to the dosfstools from alpine:edge since neither the
busybox nor alpine:3.5 dosfstools supports the -C option (in fact alpine:3.5
only has mkfs.fat and not mkfs.vfat).

The 511k slack seems like a lot to me, but 256k was somehow not enough.

Fixes #1304.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-03-15 13:30:20 +00:00

17 lines
214 B
Docker

FROM alpine:edge
RUN \
apk update && apk upgrade && \
apk add --no-cache \
dosfstools \
libarchive-tools \
binutils \
gummiboot \
mtools \
xorriso \
&& true
COPY . .
ENTRYPOINT [ "/make-efi" ]