From 558dd0056114d02dd6233439681732a5a658c022 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Fri, 14 Oct 2022 19:14:17 -0700 Subject: [PATCH] more --- build-all | 47 ++++++++++++++++++++++-------------- simple/assimilate.Dockerfile | 5 ++++ simple/bd.Dockerfile | 5 ++++ simple/bing.Dockerfile | 6 +++++ simple/fold.Dockerfile | 5 ++++ simple/greenbean.Dockerfile | 5 ++++ simple/life.Dockerfile | 5 ++++ simple/mkdeps.Dockerfile | 5 ++++ simple/printimage.Dockerfile | 5 ++++ simple/printvideo.Dockerfile | 5 ++++ simple/quickjs.Dockerfile | 6 +++++ simple/redbean.Dockerfile | 9 +++++++ simple/tinyemu.Dockerfile | 5 ++++ 13 files changed, 95 insertions(+), 18 deletions(-) create mode 100644 simple/assimilate.Dockerfile create mode 100644 simple/bd.Dockerfile create mode 100644 simple/bing.Dockerfile create mode 100644 simple/fold.Dockerfile create mode 100644 simple/greenbean.Dockerfile create mode 100644 simple/life.Dockerfile create mode 100644 simple/mkdeps.Dockerfile create mode 100644 simple/printimage.Dockerfile create mode 100644 simple/printvideo.Dockerfile create mode 100644 simple/quickjs.Dockerfile create mode 100644 simple/redbean.Dockerfile create mode 100644 simple/tinyemu.Dockerfile diff --git a/build-all b/build-all index 2babfc4..ccbd568 100755 --- a/build-all +++ b/build-all @@ -71,23 +71,34 @@ build_simple() { : \ && { [ ! -e cosmo-mini ] || build cosmo-mini ;} \ && { [ ! -e cosmo-python311 ] || build cosmo-python311 ;} \ \ - && bin=/cosmopolitan/bin \ - && yes_retrieve cosmo-base $bin/ape $bin/assimilate.com $bin/awk.com \ - $bin/gzip.com $bin/make.com $bin/sed.com $bin/unzip.com $bin/zip.com \ - && dbg_retrieve cosmo-kuroko /bin/kuroko.com \ - && dbg_retrieve cosmo-muon /bin/muon.com \ - && dbg_retrieve cosmo-perl /bin/perl.com \ - && dbg_retrieve cosmo-yices /bin/kissat.com /bin/yices-sat.com \ - /bin/yices-smt.com /bin/yices-smt2.com /bin/yices.com \ + && yes_retrieve cosmo-base /cosmopolitan/bin/ape + && dbg_retrieve cosmo-kuroko /bin/kuroko.com \ + && dbg_retrieve cosmo-muon /bin/muon.com \ + && dbg_retrieve cosmo-perl /bin/perl.com \ + && dbg_retrieve cosmo-yices /bin/kissat.com /bin/yices-sat.com \ + /bin/yices-smt.com /bin/yices-smt2.com \ + /bin/yices.com \ \ - && dbg_retrieve blinkenlights /bin/blinkenlights.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-sqlite /bin/sqlite3.com \ - && dbg_retrieve memzoom /bin/memzoom.com \ - && dbg_retrieve pledge /bin/pledge.com \ - && dbg_retrieve unbourne /bin/unbourne.com \ - && dbg_retrieve unveil /bin/unveil.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-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-sqlite /bin/sqlite3.com \ + && dbg_retrieve fold /bin/fold.com \ + && dbg_retrieve greenbean /bin/greenbean.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 quickjs /bin/qjs.com /bin/qjsc.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 \ ; diff --git a/simple/assimilate.Dockerfile b/simple/assimilate.Dockerfile new file mode 100644 index 0000000..c55e842 --- /dev/null +++ b/simple/assimilate.Dockerfile @@ -0,0 +1,5 @@ +FROM scratch as runner +COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox +COPY --chmod=0755 --from=localhost/cosmo-all /cosmopolitan/build/bootstrap/ape.elf /bin/ape +COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/assimilate.* /bin/ +ENTRYPOINT ["/bin/ape", "/bin/assimilate.com"] diff --git a/simple/bd.Dockerfile b/simple/bd.Dockerfile new file mode 100644 index 0000000..1cb5ea2 --- /dev/null +++ b/simple/bd.Dockerfile @@ -0,0 +1,5 @@ +FROM scratch as runner +COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox +COPY --chmod=0755 --from=localhost/cosmo-all /cosmopolitan/build/bootstrap/ape.elf /bin/ape +COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/bd.* /bin/ +ENTRYPOINT ["/bin/ape", "/bin/bd.com"] diff --git a/simple/bing.Dockerfile b/simple/bing.Dockerfile new file mode 100644 index 0000000..7ae1f63 --- /dev/null +++ b/simple/bing.Dockerfile @@ -0,0 +1,6 @@ +FROM scratch as runner +COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox +COPY --chmod=0755 --from=localhost/cosmo-all /cosmopolitan/build/bootstrap/ape.elf /bin/ape +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"] diff --git a/simple/fold.Dockerfile b/simple/fold.Dockerfile new file mode 100644 index 0000000..a25b15c --- /dev/null +++ b/simple/fold.Dockerfile @@ -0,0 +1,5 @@ +FROM scratch as runner +COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox +COPY --chmod=0755 --from=localhost/cosmo-all /cosmopolitan/build/bootstrap/ape.elf /bin/ape +COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/fold.* /bin/ +ENTRYPOINT ["/bin/ape", "/bin/fold.com"] diff --git a/simple/greenbean.Dockerfile b/simple/greenbean.Dockerfile new file mode 100644 index 0000000..fd60e93 --- /dev/null +++ b/simple/greenbean.Dockerfile @@ -0,0 +1,5 @@ +FROM scratch as runner +COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox +COPY --chmod=0755 --from=localhost/cosmo-all /cosmopolitan/build/bootstrap/ape.elf /bin/ape +COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/greenbean.* /bin/ +ENTRYPOINT ["/bin/ape", "/bin/greenbean.com"] diff --git a/simple/life.Dockerfile b/simple/life.Dockerfile new file mode 100644 index 0000000..c5ee855 --- /dev/null +++ b/simple/life.Dockerfile @@ -0,0 +1,5 @@ +FROM scratch as runner +COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox +COPY --chmod=0755 --from=localhost/cosmo-all /cosmopolitan/build/bootstrap/ape.elf /bin/ape +COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/life.* /bin/ +ENTRYPOINT ["/bin/ape", "/bin/life.com"] diff --git a/simple/mkdeps.Dockerfile b/simple/mkdeps.Dockerfile new file mode 100644 index 0000000..8c1dff6 --- /dev/null +++ b/simple/mkdeps.Dockerfile @@ -0,0 +1,5 @@ +FROM scratch as runner +COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox +COPY --chmod=0755 --from=localhost/cosmo-all /cosmopolitan/build/bootstrap/ape.elf /bin/ape +COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/mkdeps.* /bin/ +ENTRYPOINT ["/bin/ape", "/bin/mkdeps.com"] diff --git a/simple/printimage.Dockerfile b/simple/printimage.Dockerfile new file mode 100644 index 0000000..93c7164 --- /dev/null +++ b/simple/printimage.Dockerfile @@ -0,0 +1,5 @@ +FROM scratch as runner +COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox +COPY --chmod=0755 --from=localhost/cosmo-all /cosmopolitan/build/bootstrap/ape.elf /bin/ape +COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/printimage.* /bin/ +ENTRYPOINT ["/bin/ape", "/bin/printimage.com"] diff --git a/simple/printvideo.Dockerfile b/simple/printvideo.Dockerfile new file mode 100644 index 0000000..4959fe9 --- /dev/null +++ b/simple/printvideo.Dockerfile @@ -0,0 +1,5 @@ +FROM scratch as runner +COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox +COPY --chmod=0755 --from=localhost/cosmo-all /cosmopolitan/build/bootstrap/ape.elf /bin/ape +COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/printvideo.* /bin/ +ENTRYPOINT ["/bin/ape", "/bin/printvideo.com"] diff --git a/simple/quickjs.Dockerfile b/simple/quickjs.Dockerfile new file mode 100644 index 0000000..5c43a78 --- /dev/null +++ b/simple/quickjs.Dockerfile @@ -0,0 +1,6 @@ +FROM scratch as runner +COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox +COPY --chmod=0755 --from=localhost/cosmo-all /cosmopolitan/build/bootstrap/ape.elf /bin/ape +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"] diff --git a/simple/redbean.Dockerfile b/simple/redbean.Dockerfile new file mode 100644 index 0000000..8b131fc --- /dev/null +++ b/simple/redbean.Dockerfile @@ -0,0 +1,9 @@ +FROM scratch as runner +COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox +COPY --chmod=0755 --from=localhost/cosmo-all /cosmopolitan/build/bootstrap/ape.elf /bin/ape +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"] diff --git a/simple/tinyemu.Dockerfile b/simple/tinyemu.Dockerfile new file mode 100644 index 0000000..f84d398 --- /dev/null +++ b/simple/tinyemu.Dockerfile @@ -0,0 +1,5 @@ +FROM scratch as runner +COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox +COPY --chmod=0755 --from=localhost/cosmo-all /cosmopolitan/build/bootstrap/ape.elf /bin/ape +COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/tinyemu.* /bin/ +ENTRYPOINT ["/bin/ape", "/bin/tinyemu.com"]