mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-02 16:30:07 +00:00
These are standalone, better to have them at the top. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
12 lines
222 B
Bash
Executable File
12 lines
222 B
Bash
Executable File
#!/bin/sh
|
|
|
|
FILES=$@
|
|
make $FILES > /dev/null
|
|
[ $# -eq 0 ] && FILES=toybox
|
|
# TODO symlinks if just use toybox
|
|
mkdir -p /out/bin
|
|
mv $FILES /out/bin
|
|
printf "FROM scratch\nCOPY bin/ bin/\n" > /out/Dockerfile
|
|
cd /out
|
|
tar cf - .
|