Run cf-operator as numeric user
@@ -20,7 +20,7 @@ FROM registry.opensuse.org/cloud/platform/quarks/sle_15_sp1/quarks-operator-base
RUN groupadd -g 1000 vcap && \
useradd -r -u 1000 -g vcap vcap
RUN cp /usr/sbin/dumb-init /usr/bin/dumb-init
-USER vcap
+USER 1000
COPY --from=build /usr/local/bin/cf-operator /usr/local/bin/cf-operator
COPY --from=build /usr/local/bin/container-run /usr/local/bin/container-run
ENTRYPOINT ["/usr/bin/dumb-init", "--", "cf-operator"]
