diff --git a/components/notebook-controller/Dockerfile b/components/notebook-controller/Dockerfile index d7ce50c68b0..541e68336a0 100644 --- a/components/notebook-controller/Dockerfile +++ b/components/notebook-controller/Dockerfile @@ -52,6 +52,6 @@ COPY --from=builder \ /manager ## Switch to a non-root user -USER rhods +USER 1001:0 ENTRYPOINT [ "/manager" ] diff --git a/components/odh-notebook-controller/Dockerfile b/components/odh-notebook-controller/Dockerfile index cfcd1221541..f3d58afd7b4 100644 --- a/components/odh-notebook-controller/Dockerfile +++ b/components/odh-notebook-controller/Dockerfile @@ -52,6 +52,6 @@ COPY --from=builder \ /manager ## Switch to a non-root user -USER rhods +USER 1001:0 ENTRYPOINT [ "/manager" ]