Otherwise if there's an error at build time (e.g. package download failed) we will just blindly continue on and produce something broken. Yes, shell script sucks 😄
I tend to have a build.sh to start that uses bash strict mode and then COPY build.sh . and RUN build.sh.
Demos/bootc/machine/Containerfile
Line 3 in c0e2da2
Otherwise if there's an error at build time (e.g. package download failed) we will just blindly continue on and produce something broken. Yes, shell script sucks 😄
I tend to have a
build.shto start that uses bash strict mode and thenCOPY build.sh .andRUN build.sh.