mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-16 04:44:17 +00:00
- simplify the process by having the riddler container build the rootfs and config - output tarred up rootfs and config.json as otherwise file ownership not preserved - allow easy build of a collection of container tarballs with another conversion script This makes it easy to choose which container images you want and just convert any set to a initrd image ``` tar cf - container1.tar container2.tar | docker run -i tartar2initrd > initrd.img ``` Next stage will use a manifest to select the ones to add for each edition. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
13 lines
179 B
Docker
13 lines
179 B
Docker
FROM alpine:3.5
|
|
|
|
RUN \
|
|
apk update && apk upgrade -a && \
|
|
apk add --no-cache \
|
|
libarchive-tools \
|
|
&& true
|
|
|
|
COPY . /
|
|
|
|
ENTRYPOINT ["/bin/sh", "-c"]
|
|
CMD ["/tartar2initrd.sh"]
|