diff --git a/components/notebook-controller/Dockerfile b/components/notebook-controller/Dockerfile index cac8594e54d..8b452930b78 100644 --- a/components/notebook-controller/Dockerfile +++ b/components/notebook-controller/Dockerfile @@ -57,6 +57,6 @@ COPY --from=builder /workspace/notebook-controller/bin/manager /manager COPY --from=builder /workspace/notebook-controller/third_party/license.txt third_party/license.txt ## 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 996900f882f..dfc24f648bb 100644 --- a/components/odh-notebook-controller/Dockerfile +++ b/components/odh-notebook-controller/Dockerfile @@ -55,6 +55,6 @@ COPY --from=builder /workspace/odh-notebook-controller/bin/manager /manager COPY --from=builder /workspace/odh-notebook-controller/third_party/license.txt third_party/license.txt ## Switch to a non-root user -USER rhods +USER 1001:0 ENTRYPOINT [ "/manager" ]