more work
This commit is contained in:
parent
883cf1214e
commit
a025a1a64f
7 changed files with 30 additions and 6 deletions
|
@ -60,6 +60,8 @@ with some minor patches and a custom distrib.
|
|||
* **cosmo-chibicc:** chibicc (not sure which commit this is forked from)
|
||||
with many extensions.
|
||||
|
||||
* **cosmo-lua:** Actually Portable Lua
|
||||
|
||||
* **cosmo-python:** Actually Portable Python 3.6.14
|
||||
|
||||
* **cosmo-quickjs:** quickjs (2021-03-27)
|
||||
|
|
|
@ -48,10 +48,11 @@ build() { : \
|
|||
&& build cosmo-sed \
|
||||
`# phase 4` \
|
||||
&& build cosmo-base \
|
||||
&& echo build cosmo-chibicc \
|
||||
&& echo build cosmo-python \
|
||||
&& echo build cosmo-quickjs \
|
||||
&& echo build cosmo-sqlite \
|
||||
&& build cosmo-chibicc \
|
||||
&& build cosmo-lua \
|
||||
&& build cosmo-python \
|
||||
&& build cosmo-quickjs \
|
||||
&& build cosmo-sqlite \
|
||||
&& build cosmo-unbourne \
|
||||
`# phase 5` \
|
||||
&& build cosmo-kuroko \
|
||||
|
|
|
@ -33,8 +33,8 @@ RUN --mount=type=cache,id=cosmo-build-all,target=/cosmopolitan/o,sharing=locked
|
|||
&& ./makeit MODE="$mode" all \
|
||||
\
|
||||
# install the binaries somewhere so we can retrieve them without mounting cache: \
|
||||
#&& find o '(' -name '*.com' -o -name '*.com.dbg' ')' -exec \
|
||||
&& find o -name '*.com' -exec \
|
||||
&& find o '(' -name '*.com' -o -name '*.com.dbg' ')' \
|
||||
'!' -name '*_test.*' '!' -name 'test_*' -exec \
|
||||
install -m0755 -t /usr/local/bin {} \
|
||||
+ \
|
||||
;
|
||||
|
|
5
cosmo-chibicc/Dockerfile
Normal file
5
cosmo-chibicc/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/chibicc.* /bin/
|
||||
ENTRYPOINT ["/bin/ape", "/bin/chibicc.com"]
|
6
cosmo-lua/Dockerfile
Normal file
6
cosmo-lua/Dockerfile
Normal file
|
@ -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/lua.* /bin/
|
||||
COPY --chmod=0755 --from=localhost/cosmo-all /usr/local/bin/luac.* /bin/
|
||||
ENTRYPOINT ["/bin/ape", "/bin/lua.com"]
|
5
cosmo-python/Dockerfile
Normal file
5
cosmo-python/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/python.* /bin/
|
||||
ENTRYPOINT ["/bin/ape", "/bin/python.com"]
|
5
cosmo-sqlite/Dockerfile
Normal file
5
cosmo-sqlite/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/sqlite.* /bin/
|
||||
ENTRYPOINT ["/bin/ape", "/bin/sqlite.com"]
|
Loading…
Reference in a new issue