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

Pablo Brasero notifications at github.com
Wed Oct 22 14:28:26 UTC 2025


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

>  if there’s even a small chance that a dev might want to apt-install some tool into their container (e.g. for debugging) perhaps we should leave the apt in a fully working state?

That's my thought. I may want to install packages for some punctual need, so I'd rather that we leave APT in a working state.

However, I just had a look at  `/var/lib/apt/lists/` and realised that it takes 164M in my Debian machine. Let me have a look at how broken things can be if removed. If APT recovers gracefully, I may add the rimraf line.

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

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


More information about the rails-dev mailing list