pull down to refresh
123 sats \ 1 reply \ @bitgould 21 Oct 2022 \ on: Multistage Rust Docker Builds for Umbrel Apps bitcoin
Why do umbrel apps need "multistage" (?) builds
Multistage allows us to get rid of all the dependencies from the
build
stage, leaving just the compiled binary in the final image. Saves on heaps of storage space, keeps our apps slim!Fortunately umbrel doesn't need multistage builds to run (only for submission), so you can test a lazy single-stage Dockerfile just fine, and then make it multistage when it's ready to submit!
reply