[openstreetmap/openstreetmap-website] Docker: clear out apt repo after installing packages (PR #6464)
Pablo Brasero
notifications at github.com
Wed Oct 22 14:53:22 UTC 2025
pablobm left a comment (openstreetmap/openstreetmap-website#6464)
Weirdly, when I tried there appeared to be less space available when deleting the lists than when not. I'm guessing it was a fluke as a result of... something container image volume something. No idea.
Before removal:
```
# du -sh /var/lib/apt/lists/
19M /var/lib/apt/lists/
# df -h /
Filesystem Size Used Avail Use% Mounted on
overlay 220G 121G 89G 58% /
```
After removal:
```
# df -h /
Filesystem Size Used Avail Use% Mounted on
overlay 220G 123G 87G 59% /
```
But APT works. It just needs running `apt update` and then you can install packages again. So I added the line.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6464#issuecomment-3432779798
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6464/c3432779798 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251022/c20e908b/attachment.htm>
More information about the rails-dev
mailing list