13 lines
500 B
Text
13 lines
500 B
Text
|
FROM cosmo-bootstrap AS builder
|
||
|
RUN --mount=type=tmpfs,target=/tmp : \
|
||
|
&& . ./env \
|
||
|
&& ./expand ./makeit e//unbourne.com \
|
||
|
&& ./expand cp -t /usr/bin e//unbourne.com e//unbourne.com.dbg \
|
||
|
;
|
||
|
|
||
|
FROM scratch AS runner
|
||
|
COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox
|
||
|
COPY --chmod=0755 --from=builder /cosmopolitan/build/bootstrap/ape.elf /bin/ape
|
||
|
COPY --chmod=0755 --from=builder /usr/bin/unbourne.com /usr/bin/unbourne.com.dbg /bin/
|
||
|
ENTRYPOINT ["/bin/ape", "/bin/unbourne.com"]
|