mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-05-18 13:12:46 +00:00
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 - .
|