bobbai00 opened a new issue, #4940: URL: https://github.com/apache/texera/issues/4940
### Task Summary Texera's runtime images currently run as root. Docker Hub flags this with the recommendation: *"Ensures the image specifies a non-root username (or UID) for the final stage."* Add a system user (UID 1001) and a `USER` directive to the runtime stage of every service Dockerfile under `bin/`. Aligns with Kubernetes `runAsNonRoot: true` PSS guidance. Scope: 8 service Dockerfiles (`access-control-service`, `agent-service`, `computing-unit-master`, `computing-unit-worker`, `config-service`, `file-service`, `texera-web-application`, `workflow-compiling-service`, `workflow-computing-unit-managing-service`). Sidecar Dockerfiles (`bin/y-websocket-server/Dockerfile`, `bin/pylsp/Dockerfile`) are out of scope here — they have their own base-image issues (`node:latest`, `python:3.10-slim`) tracked separately. ### Task Type - [x] DevOps / Deployment / CI - [x] Refactor / Cleanup -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
