tools: Add mkimage-squashfs

This utility image takes a tarball as input and places the
contents into a read-only, compressed squashfs filesystem
which is produced on stdout.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer
2018-04-16 13:59:23 +01:00
parent 11db895b65
commit c0377bf343
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
FROM linuxkit/alpine:f3cd219615428b2bd943411723eb28875275fae7
RUN \
apk update && apk upgrade && \
apk add --no-cache \
libarchive-tools \
squashfs-tools \
&& true
COPY . .
ENTRYPOINT [ "/make-squashfs" ]