diff --git a/Dockerfile b/Dockerfile index a3829cf7c..7ac28d2d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,11 +13,6 @@ FROM gcr.io/distroless/static-debian12 COPY --from=build /src/rollout-operator/rollout-operator /bin/rollout-operator ENTRYPOINT [ "/bin/rollout-operator" ] -# Create rollout-operator user to run as non-root. -RUN addgroup -g 10000 -S rollout-operator && \ - adduser -u 10000 -S rollout-operator -G rollout-operator -USER rollout-operator:rollout-operator - ARG revision LABEL org.opencontainers.image.title="rollout-operator" \ org.opencontainers.image.source="https://github.com/grafana/rollout-operator" \ diff --git a/integration/mock-service/Dockerfile b/integration/mock-service/Dockerfile index e2fb1b26c..50adb2a75 100644 --- a/integration/mock-service/Dockerfile +++ b/integration/mock-service/Dockerfile @@ -3,11 +3,6 @@ FROM gcr.io/distroless/static-debian12 COPY mock-service /bin/mock-service ENTRYPOINT [ "/bin/mock-service" ] -# Create mock-service user to run as non-root. -RUN addgroup -g 10000 -S mock-service && \ - adduser -u 10000 -S mock-service -G mock-service -USER mock-service:mock-service - ARG revision LABEL org.opencontainers.image.title="mock-service" \ org.opencontainers.image.source="https://github.com/grafana/rollout-operator/integration/mock-service" \