simplify
This commit is contained in:
parent
a025a1a64f
commit
23637a4e37
11 changed files with 25 additions and 12 deletions
12
build-all
12
build-all
|
@ -44,16 +44,14 @@ build() { : \
|
|||
&& build cosmo-assimilate \
|
||||
&& build cosmo-awk \
|
||||
&& build cosmo-dist \
|
||||
&& build cosmo-make \
|
||||
&& build cosmo-sed \
|
||||
`# phase 4` \
|
||||
&& build cosmo-base \
|
||||
&& build cosmo-chibicc \
|
||||
&& build cosmo-lua \
|
||||
&& build cosmo-python \
|
||||
&& build cosmo-quickjs \
|
||||
&& build cosmo-sqlite \
|
||||
&& build cosmo-unbourne \
|
||||
&& for f in simple/*.Dockerfile \
|
||||
;do : \
|
||||
&& g="${f%.*}" \
|
||||
&& podman build -t "${g##*/}" "$f" \
|
||||
;done \
|
||||
`# phase 5` \
|
||||
&& build cosmo-kuroko \
|
||||
&& build cosmo-muon \
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
FROM scratch AS runner
|
||||
COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox
|
||||
COPY --chmod=0755 --from=localhost/cosmo-dist /cosmopolitan/bin/ape /bin/
|
||||
COPY --chmod=0755 --from=localhost/cosmo-dist /cosmopolitan/bin/make.com /bin/
|
||||
ENTRYPOINT ["/bin/ape", "/bin/make.com"]
|
5
simple/blinkenlights.Dockerfile
Normal file
5
simple/blinkenlights.Dockerfile
Normal file
|
@ -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/blinkenlights.* /bin/
|
||||
ENTRYPOINT ["/bin/ape", "/bin/blinkenlights.com"]
|
5
simple/cosmo-make.Dockerfile
Normal file
5
simple/cosmo-make.Dockerfile
Normal file
|
@ -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/make.* /bin/
|
||||
ENTRYPOINT ["/bin/ape", "/bin/make.com"]
|
5
simple/memzoom.Dockerfile
Normal file
5
simple/memzoom.Dockerfile
Normal file
|
@ -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/memzoom.* /bin/
|
||||
ENTRYPOINT ["/bin/ape", "/bin/memzoom.com"]
|
5
simple/unveil.Dockerfile
Normal file
5
simple/unveil.Dockerfile
Normal file
|
@ -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/unveil.* /bin/
|
||||
ENTRYPOINT ["/bin/ape", "/bin/unveil.com"]
|
Loading…
Reference in a new issue