add rescue container to simplify runners

This commit is contained in:
Connor Olding 2022-10-15 01:23:58 -07:00
parent a9a883a5b4
commit e4af8b909f
2 changed files with 5 additions and 0 deletions

View file

@ -47,6 +47,7 @@ build() { : \
`# phase 3` \
&& build cosmo-all \
&& build cosmo-dist \
&& build rescue \
`# phase 4` \
&& build cosmo-base \
`# phase 5` \

4
rescue/Dockerfile Normal file
View file

@ -0,0 +1,4 @@
FROM scratch
COPY --chmod=0755 --from=localhost/notwa-util /nu/busybox /bin/busybox
COPY --chmod=0755 --from=localhost/cosmo-bootstrap /usr/bin/ape /bin/ape
ENTRYPOINT ["/bin/busybox"]