Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion components/example-notebook-servers/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ RUN curl -fsSL "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/${TARGETA
&& chmod +x /usr/local/bin/kubectl

# create user and set required ownership
RUN useradd -M -N \
# Starting with Ubuntu 23.04, the system includes a default user named 'ubuntu' with UID 1000,
# which conflicts with our default NB_UID. As this user is not needed, it is removed.
RUN userdel -r ubuntu || true \
&& useradd -M -N \
--shell /bin/bash \
--home ${HOME} \
--uid ${NB_UID} \
Expand Down