[openstreetmap/openstreetmap-website] Docker: clear out apt repo after installing packages (PR #6464)

Paul Norman notifications at github.com
Thu Oct 23 05:18:18 UTC 2025


pnorman left a comment (openstreetmap/openstreetmap-website#6464)

the apt-get update, install, clean, and rm -rf all need to be in the same command. It'll save the full size of the temporary files because they aren't present on any other layers. It doesn't break anything since it's just restoring parts of the state to how they were before temporary files were downloaded with apt-get update.

`apt-get distclean` is probably the right command to use instead of the rm -rf. I'm not sure if distclean implies clean

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6464#issuecomment-3435133090
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6464/c3435133090 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251022/676a072c/attachment.htm>


More information about the rails-dev mailing list