mirror of
https://github.com/miniflux/v2.git
synced 2024-08-20 03:13:22 +02:00
This patch adjusts the distroless image to use the predefined non-root UID, which uses explicit UID definitions. This allows orchestrators like Kubernetes to validate non-zero UIDs directly by checking the Image metadata. The previous setup without an explicit `runAsUser` in the securityContext would produce the following error when enabling `runAsNonRoot`: ``` Error: container has runAsNonRoot and image has non-numeric user (nonroot), cannot verify user is non-root (pod: "miniflux-97cc5955f-pt7vf_miniflux(d1c56d29-ea0a-407c-b3f3-9821fbd7ee61)", container: miniflux) ``` |
||
---|---|---|
.. | ||
debian | ||
docker | ||
rpm | ||
systemd | ||
miniflux.conf |