Files
bitmessage/docker
bitdeals 29a0957cb7
Build docker image and push to registry.bitdeals.org / main-build-job (push) Successful in 2m5s
feat: refuse to start as root
The image runs as its own unprivileged user, and everything in run.sh now
assumes it: keys.dat is worked on by its owner, no privilege is dropped
anywhere, and what confines the container is whatever the caller passed.
Started as root by a `user:` override, none of that holds and the container
looks identical from outside -- a silent loss of every property this image
was changed to have.

Four lines at the top of run.sh, and the reason is then the first line of
`docker logs`. It is the same bargain as the build-time checks: a wrong
posture should fail loudly rather than pass for a right one.
2026-09-09 13:45:09 +00:00
..
2026-09-09 13:45:09 +00:00