build: verified image runs non-root on a read-only rootfs; drop --system uid warning; plain Rest Server restart instruction

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 21:13:58 +07:00
parent 0c141b7038
commit 63a70b9eb8
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ IFS= read -r status <&3
[[ "$status" == HTTP/*" 200 "* ]]
EOF2
RUN restic version && mysqldump --version && pg_dump --version && tessera --help >/dev/null \
&& useradd --system --uid 10001 --user-group --home-dir /home/tessera --create-home tessera \
&& useradd --uid 10001 --user-group --home-dir /home/tessera --create-home tessera \
&& install -d -o tessera -g tessera /data
ENV TESSERA_LISTEN=0.0.0.0:8787
ENV TESSERA_DATA_DIR=/data