tor: change from bookworm-slim to stable-slim; w/ old id online again

This commit is contained in:
Hernâni Marques 2026-09-02 23:15:06 +02:00
parent 9ae0dfa429
commit 12f9f76834
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
# Process is NOT root: debian-tor remapped to uid/gid 1000 for rootless # Process is NOT root: debian-tor remapped to uid/gid 1000 for rootless
# podman + host volumes (~/koopa-tor-relay/{data,log} owned by hernani). # podman + host volumes (~/koopa-tor-relay/{data,log} owned by hernani).
# Recreate container with: --user 1000:1000 --userns=keep-id (see README). # Recreate container with: --user 1000:1000 --userns=keep-id (see README).
FROM docker.io/library/debian:bookworm-slim FROM docker.io/library/debian:stable-slim
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends tor nyx ca-certificates tor-geoipdb \ && apt-get install -y --no-install-recommends tor nyx ca-certificates tor-geoipdb \

View file

@ -14,7 +14,7 @@ Mirror in this repo: `configs/tor/`.
| SocksPort | **0** | | SocksPort | **0** |
| MyFamily | `52BB94DDC1292F950CF728708AC48523E018A718` | | MyFamily | `52BB94DDC1292F950CF728708AC48523E018A718` |
| Bandwidth* | 2000 MBytes rate/burst | | Bandwidth* | 2000 MBytes rate/burst |
| Image | `localhost/koopa-tor-relay:latest` (Debian bookworm + tor + nyx) | | Image | `localhost/koopa-tor-relay:latest` (Debian stable + tor + nyx) |
| Process user | **non-root** `debian-tor` remapped to **uid/gid 1000** (`USER` in image) | | Process user | **non-root** `debian-tor` remapped to **uid/gid 1000** (`USER` in image) |
| Rootless note | recreate with `--user 1000:1000 --userns=keep-id` so `~/koopa-tor-relay/data` (hernani) stays writable | | Rootless note | recreate with `--user 1000:1000 --userns=keep-id` so `~/koopa-tor-relay/data` (hernani) stays writable |