Skip to content

[docker] Use multiple RUN commands #5337

New issue

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

By clicking “No 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? No Sign in to your account

Open
clayrosenthal opened this issue Apr 24, 2025 · 0 comments
Open

[docker] Use multiple RUN commands #5337

clayrosenthal opened this issue Apr 24, 2025 · 0 comments

Comments

@clayrosenthal
Copy link
Contributor

Use multiple RUN commands in your Dockerfile, for a few reasons:

  1. Layers can be cached better
  2. Layers can use caches better
  3. More readable
  4. Easier to debug

The docker build has been failing a few days unfortunately, and I think this could help fix it, or keep it working longer term

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

No branches or pull requests

1 participant