File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3939 libglib2.0-0t64 libxkbcommon0 libgl1 libfreetype6 libdbus-1-3 \
4040 && rm -rf /var/lib/apt/lists/*
4141
42- # Create non-root user for container hardening
43- RUN useradd --no-create-home --home-dir /app --shell /usr/sbin/nologin appuser
42+ # Create non-root user for container hardening (UID 1000 matches the previous
43+ # Debian-based image so existing volume files remain writable).
44+ RUN groupadd --gid 1000 appuser && \
45+ useradd --uid 1000 --gid 1000 --no-create-home --home-dir /app --shell /usr/sbin/nologin appuser
4446
4547# Download CHOpt CLI for path generation (Linux x64) — pinned in tools/chopt-cli-linux/
4648COPY tools/chopt-cli-linux/ /app/tools/
You can’t perform that action at this time.
0 commit comments