Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should use && not ; #74

Open
cgwalters opened this issue Feb 9, 2024 · 0 comments
Open

should use && not ; #74

cgwalters opened this issue Feb 9, 2024 · 0 comments

Comments

@cgwalters
Copy link

RUN dnf -y update; \

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant