add 'simple' containers and distribute way more programs
This commit is contained in:
parent
76456e8ea2
commit
a32a28d7c2
26 changed files with 118 additions and 4 deletions
40
build-all
40
build-all
|
@ -37,6 +37,15 @@ build() { : \
|
||||||
&& podman build -t "$t" "$t" "$@" \
|
&& podman build -t "$t" "$t" "$@" \
|
||||||
;}
|
;}
|
||||||
|
|
||||||
|
build_simple() { : \
|
||||||
|
&& for f in simple/*.Dockerfile \
|
||||||
|
;do t="${f%.*}" t=${t##*/} \
|
||||||
|
&& announce '(simple) packaging' "$t" \
|
||||||
|
&& podman build -t "$t" -f "$f" simple \
|
||||||
|
|| return \
|
||||||
|
;done \
|
||||||
|
;}
|
||||||
|
|
||||||
: \
|
: \
|
||||||
&& me="$(readlink -f "$0")" && cd "${me%/*}" && { [ -d out ] || mkdir out ;} \
|
&& me="$(readlink -f "$0")" && cd "${me%/*}" && { [ -d out ] || mkdir out ;} \
|
||||||
&& : \
|
&& : \
|
||||||
|
@ -50,21 +59,44 @@ build() { : \
|
||||||
&& build rescue \
|
&& build rescue \
|
||||||
`# phase 4` \
|
`# phase 4` \
|
||||||
&& build cosmo-base \
|
&& build cosmo-base \
|
||||||
|
&& build_simple \
|
||||||
`# phase 5` \
|
`# phase 5` \
|
||||||
&& build cosmo-kuroko \
|
&& build cosmo-kuroko \
|
||||||
&& build cosmo-muon \
|
&& build cosmo-muon \
|
||||||
&& build cosmo-perl \
|
&& build cosmo-perl \
|
||||||
&& build cosmo-yices \
|
&& build cosmo-yices \
|
||||||
\
|
\
|
||||||
&& bin=/usr/local/bin \
|
|
||||||
&& yes_retrieve cosmo-base /cosmopolitan/bin/ape \
|
&& yes_retrieve cosmo-base /cosmopolitan/bin/ape \
|
||||||
&& dbg_retrieve cosmo-all $bin/awk.com $bin/gzip.com $bin/make.com \
|
|
||||||
$bin/sed.com $bin/unbourne.com $bin/unzip.com \
|
|
||||||
$bin/zip.com \
|
|
||||||
&& dbg_retrieve cosmo-kuroko /bin/kuroko.com \
|
&& dbg_retrieve cosmo-kuroko /bin/kuroko.com \
|
||||||
&& dbg_retrieve cosmo-muon /bin/muon.com \
|
&& dbg_retrieve cosmo-muon /bin/muon.com \
|
||||||
&& dbg_retrieve cosmo-perl /bin/perl.com \
|
&& dbg_retrieve cosmo-perl /bin/perl.com \
|
||||||
&& dbg_retrieve cosmo-yices /bin/kissat.com /bin/yices-sat.com \
|
&& dbg_retrieve cosmo-yices /bin/kissat.com /bin/yices-sat.com \
|
||||||
/bin/yices-smt.com /bin/yices-smt2.com \
|
/bin/yices-smt.com /bin/yices-smt2.com \
|
||||||
/bin/yices.com \
|
/bin/yices.com \
|
||||||
|
\
|
||||||
|
&& dbg_retrieve assimilate /bin/assimilate.com \
|
||||||
|
&& dbg_retrieve bd /bin/bd.com \
|
||||||
|
&& dbg_retrieve bing /bin/bing.com /bin/unbing.com \
|
||||||
|
&& dbg_retrieve blinkenlights /bin/blinkenlights.com \
|
||||||
|
&& dbg_retrieve cosmo-awk /bin/awk.com \
|
||||||
|
&& dbg_retrieve cosmo-chibicc /bin/chibicc.com \
|
||||||
|
&& dbg_retrieve cosmo-lua /bin/lua.com /bin/luac.com \
|
||||||
|
&& dbg_retrieve cosmo-make /bin/make.com \
|
||||||
|
&& dbg_retrieve cosmo-python /bin/python.com \
|
||||||
|
&& dbg_retrieve cosmo-quickjs /bin/qjs.com /bin/qjsc.com \
|
||||||
|
&& dbg_retrieve cosmo-sed /bin/sed.com \
|
||||||
|
&& dbg_retrieve cosmo-sqlite /bin/sqlite3.com \
|
||||||
|
&& dbg_retrieve fold /bin/fold.com \
|
||||||
|
&& dbg_retrieve greenbean /bin/greenbean.com \
|
||||||
|
&& dbg_retrieve hello /bin/hello.com \
|
||||||
|
&& dbg_retrieve life /bin/life.com \
|
||||||
|
&& dbg_retrieve memzoom /bin/memzoom.com \
|
||||||
|
&& dbg_retrieve mkdeps /bin/mkdeps.com \
|
||||||
|
&& dbg_retrieve pledge /bin/pledge.com \
|
||||||
|
&& dbg_retrieve printimage /bin/printimage.com \
|
||||||
|
&& dbg_retrieve printvideo /bin/printvideo.com \
|
||||||
|
&& dbg_retrieve redbean /bin/redbean.com \
|
||||||
|
&& dbg_retrieve tinyemu /bin/tinyemu.com \
|
||||||
|
&& dbg_retrieve unbourne /bin/unbourne.com \
|
||||||
|
&& dbg_retrieve unveil /bin/unveil.com \
|
||||||
;
|
;
|
||||||
|
|
3
simple/assimilate.Dockerfile
Normal file
3
simple/assimilate.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/assimilate.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/assimilate.com"]
|
3
simple/bd.Dockerfile
Normal file
3
simple/bd.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/bd.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/bd.com"]
|
4
simple/bing.Dockerfile
Normal file
4
simple/bing.Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/bing.* /bin/
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/unbing.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/bing.com"]
|
3
simple/blinkenlights.Dockerfile
Normal file
3
simple/blinkenlights.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/blinkenlights.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/blinkenlights.com"]
|
3
simple/cosmo-awk.Dockerfile
Normal file
3
simple/cosmo-awk.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/awk.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/awk.com"]
|
3
simple/cosmo-chibicc.Dockerfile
Normal file
3
simple/cosmo-chibicc.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/chibicc.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/chibicc.com"]
|
4
simple/cosmo-lua.Dockerfile
Normal file
4
simple/cosmo-lua.Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/lua.* /bin/
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/luac.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/lua.com"]
|
3
simple/cosmo-make.Dockerfile
Normal file
3
simple/cosmo-make.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/make.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/make.com"]
|
3
simple/cosmo-python.Dockerfile
Normal file
3
simple/cosmo-python.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/python.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/python.com"]
|
4
simple/cosmo-quickjs.Dockerfile
Normal file
4
simple/cosmo-quickjs.Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/qjs.* /bin/
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/qjsc.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/qjs.com"]
|
3
simple/cosmo-sed.Dockerfile
Normal file
3
simple/cosmo-sed.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/sed.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/sed.com"]
|
3
simple/cosmo-sqlite.Dockerfile
Normal file
3
simple/cosmo-sqlite.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/sqlite3.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/sqlite3.com"]
|
3
simple/fold.Dockerfile
Normal file
3
simple/fold.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/fold.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/fold.com"]
|
3
simple/greenbean.Dockerfile
Normal file
3
simple/greenbean.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/greenbean.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/greenbean.com"]
|
3
simple/hello.Dockerfile
Normal file
3
simple/hello.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/hello.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/hello.com"]
|
3
simple/life.Dockerfile
Normal file
3
simple/life.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/life.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/life.com"]
|
3
simple/memzoom.Dockerfile
Normal file
3
simple/memzoom.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/memzoom.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/memzoom.com"]
|
3
simple/mkdeps.Dockerfile
Normal file
3
simple/mkdeps.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/mkdeps.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/mkdeps.com"]
|
3
simple/pledge.Dockerfile
Normal file
3
simple/pledge.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/pledge.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/pledge.com"]
|
3
simple/printimage.Dockerfile
Normal file
3
simple/printimage.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/printimage.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/printimage.com"]
|
3
simple/printvideo.Dockerfile
Normal file
3
simple/printvideo.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/printvideo.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/printvideo.com"]
|
7
simple/redbean.Dockerfile
Normal file
7
simple/redbean.Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/redbean-demo.* /bin/
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/redbean-original.* /bin/
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/redbean-static.* /bin/
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/redbean-unsecure.* /bin/
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/redbean.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/redbean-demo.com"]
|
3
simple/tinyemu.Dockerfile
Normal file
3
simple/tinyemu.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/tinyemu.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/tinyemu.com"]
|
3
simple/unbourne.Dockerfile
Normal file
3
simple/unbourne.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/unbourne.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/unbourne.com"]
|
3
simple/unveil.Dockerfile
Normal file
3
simple/unveil.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rescue
|
||||||
|
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/unveil.* /bin/
|
||||||
|
ENTRYPOINT ["/bin/ape", "/bin/unveil.com"]
|
Loading…
Add table
Reference in a new issue