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

[Multi-Node VLLM] - Why do we need to run apt-update twice in dockerfile #2084

Open
bhiravabhatla opened this issue Mar 11, 2025 · 1 comment

Comments

@bhiravabhatla
Copy link

  • [ yes] ✋ I have searched the open/closed issues and my issue is not listed.

Please describe your question here

[Multi-Node VLLM] - Why do we need to run apt-update twice in dockerfile

Provide a link to the example/module related to the question

)

@bryantbiggs

Additional context

@bryantbiggs
Copy link
Contributor

each RUN statement that uses apt to install something requires an update since we are cleaning out the cache at the end of each layer

apt clean
rm -rf /var/{log,dpkg.log}

we do this so that each layer stays smaller since trying to remove those bits in a subsequent layer won't actually remove them (unless we squashed the layers)

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

2 participants