The STRTA Dockerfile added in #4 runs RUN make check as root (the default user). Our standard is that images build and run as a non-root user — never root.
Definition of done
The Dockerfile creates a non-root user and USER-switches to it before RUN make check, with a writable HOME and any build caches owned by that user. Root-only setup (package installs) stays before the switch.
docker build . remains green with the in-image make check running as the non-root user.
No other change in scope.
The finishing commit's title must end with (closes #N) referencing this issue.
The STRTA `Dockerfile` added in #4 runs `RUN make check` as root (the default user). Our standard is that images build and run as a non-root user — never root.
## Definition of done
1. The `Dockerfile` creates a non-root user and `USER`-switches to it before `RUN make check`, with a writable `HOME` and any build caches owned by that user. Root-only setup (package installs) stays before the switch.
2. `docker build .` remains green with the in-image `make check` running as the non-root user.
3. No other change in scope.
The finishing commit's title must end with ` (closes #N)` referencing this issue.
Closing without action. The non-root Dockerfile requirement was specific to sfdupes (where a permission-based test cannot run under a root Docker build); it is not a general standard. lora.vegas keeps its root Dockerfile from #4. The in-flight branch for this change is being abandoned.
Closing without action. The non-root Dockerfile requirement was specific to sfdupes (where a permission-based test cannot run under a root Docker build); it is not a general standard. lora.vegas keeps its root Dockerfile from #4. The in-flight branch for this change is being abandoned.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The STRTA
Dockerfileadded in #4 runsRUN make checkas root (the default user). Our standard is that images build and run as a non-root user — never root.Definition of done
Dockerfilecreates a non-root user andUSER-switches to it beforeRUN make check, with a writableHOMEand any build caches owned by that user. Root-only setup (package installs) stays before the switch.docker build .remains green with the in-imagemake checkrunning as the non-root user.The finishing commit's title must end with
(closes #N)referencing this issue.Closing without action. The non-root Dockerfile requirement was specific to sfdupes (where a permission-based test cannot run under a root Docker build); it is not a general standard. lora.vegas keeps its root Dockerfile from #4. The in-flight branch for this change is being abandoned.