Skip to content

fix: make Docker images backward compatible with runAsUser: 1000

d383920
Select commit
Loading
Failed to load commit list.
Merged

[TT-17009] make Docker images backward compatible with runAsUser: 1000 #8104

fix: make Docker images backward compatible with runAsUser: 1000
d383920
Select commit
Loading
Failed to load commit list.
probelabs / Visor: architecture succeeded Apr 20, 2026 in 1m 16s

✅ Check Passed (Warnings Found)

architecture check passed. Found 1 warning, but fail_if condition was not met.

Details

📊 Summary

  • Total Issues: 1
  • Warning Issues: 1

🔍 Failure Condition Results

Passed Conditions

  • global_fail_if: Condition passed

Issues by Category

Architecture (1)

  • ⚠️ ci/Dockerfile.distroless:16 - The UID/GID 65532 is hardcoded in the chown command. While this is the standard 'nonroot' user in distroless images, it's better practice to define it as a build argument for clarity and maintainability, especially since it was also used in the now-removed COPY --chown instruction.

Powered by Visor from Probelabs

💡 TIP: You can chat with Visor using /visor ask <your question>

Annotations

Check warning on line 16 in ci/Dockerfile.distroless

See this annotation in the file changed.

@probelabs probelabs / Visor: architecture

architecture Issue

The UID/GID `65532` is hardcoded in the `chown` command. While this is the standard 'nonroot' user in distroless images, it's better practice to define it as a build argument for clarity and maintainability, especially since it was also used in the now-removed `COPY --chown` instruction.
Raw output
Define an `ARG` for the non-root UID near the top of the Dockerfile and use this variable in the `chown` command. This makes the value explicit and easier to change if needed in the future.