#!/bin/sh setvar FILES = "$ifsjoin(ARGV)" make $FILES > /dev/null test $Argc -eq 0 && setvar 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 - .