Skip to content

[P3][ci] Run Docker image as non-root user #40

Description

@cevheri

Summary

Docker image runs as root — bind-mounted volumes get root-owned files on host.

Audit ID: Section 4 Low — Wave 3
Location: Dockerfile:30

Fix

Switch to distroless :nonroot or add USER nonroot after copying artifacts; ensure write paths use volume with correct permissions.

Acceptance criteria

  • Container runs non-root by default.
  • CI docker build still passes.
  • No changeset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/ciPre-announcement auditpriority/lowPre-announcement audit

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions