From e4af8b909f00eb1ed13eaf39dda58fb4e7fe845f Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 15 Oct 2022 01:23:58 -0700 Subject: [PATCH] add rescue container to simplify runners --- build-all | 1 + rescue/Dockerfile | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 rescue/Dockerfile diff --git a/build-all b/build-all index a41bd53..f26568c 100755 --- a/build-all +++ b/build-all @@ -47,6 +47,7 @@ build() { : \ `# phase 3` \ && build cosmo-all \ && build cosmo-dist \ + && build rescue \ `# phase 4` \ && build cosmo-base \ `# phase 5` \ diff --git a/rescue/Dockerfile b/rescue/Dockerfile new file mode 100644 index 0000000..de080ae --- /dev/null +++ b/rescue/Dockerfile @@ -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"]