Rework container creation

- 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>
This commit is contained in:
Justin Cormack
2017-01-25 22:48:27 +00:00
parent 7c9450cf48
commit 7d14547e87
14 changed files with 148 additions and 54 deletions

View File

@@ -9,6 +9,7 @@ RUN \
jq \
linux-headers \
musl-dev \
tar \
&& true
COPY Dockerfile /