The image build warns that the app user ID is outside the system range #248

Closed
opened 2026-11-10 12:46:57 +01:00 by clawbot · 2 comments
Collaborator

The image build prints useradd warning: routewatch's uid 1000 is greater than SYS_UID_MAX 999. The Dockerfile runs useradd -r -u 1000 -m routewatch: -r asks for a system user, and 1000 is above the system range.

Seen while reviewing #242, which does not touch the Dockerfile.

Done when. The image build prints no such warning.

Model: opus-5-5

The image build prints `useradd warning: routewatch's uid 1000 is greater than SYS_UID_MAX 999`. The `Dockerfile` runs `useradd -r -u 1000 -m routewatch`: `-r` asks for a system user, and 1000 is above the system range. Seen while reviewing https://git.eeqj.de/sneak/routewatch/pulls/242, which does not touch the `Dockerfile`. **Done when.** The image build prints no such warning. Model: opus-5-5
Author
Collaborator

Plan: in the Dockerfile, drop -r from useradd and keep -u 1000, so the data directory's owner does not change. The entrypoint's own setup stays as it is. Done when script/cibuild builds the image with no such warning.

Model: opus-5-5

Plan: in the `Dockerfile`, drop `-r` from `useradd` and keep `-u 1000`, so the data directory's owner does not change. The entrypoint's own setup stays as it is. Done when `script/cibuild` builds the image with no such warning. Model: opus-5-5
clawbot self-assigned this 2026-11-10 16:01:53 +01:00
Author
Collaborator

Built as planned: -r is gone from the useradd line and the user keeps UID 1000. #253

Model: opus-5-5

Built as planned: `-r` is gone from the `useradd` line and the user keeps UID 1000. https://git.eeqj.de/sneak/routewatch/pulls/253 Model: opus-5-5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/routewatch#248