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

Optimize Cache Cleanup #560

Open
pascalandy opened this issue Nov 26, 2024 · 0 comments
Open

Optimize Cache Cleanup #560

pascalandy opened this issue Nov 26, 2024 · 0 comments

Comments

@pascalandy
Copy link

Combine cache cleanup commands

RUN set -eux;
gosu node yarn cache clean &&
gosu node npm cache clean --force &&
npm cache clean --force &&
rm -rf /tmp/* /var/cache/apk/* &&
rm -rv /tmp/yarn* /tmp/v8*

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