Skip to content

Commit

Permalink
fix (JupyterHub): Fixed permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniochavesgarcia committed Nov 17, 2023
1 parent 8e14e22 commit a97eca6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jupyterhub/base-gpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
bat \
locales \
sudo \
openssh-client \
iputils-ping \
gpg \
tini \
wget \
nslookup \
&& \
apt-get clean && rm -rf /var/lib/apt/lists/* && \
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
Expand Down Expand Up @@ -84,13 +84,13 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \
chmod g+w /etc/passwd && \
fix-permissions "${HOME}"

USER ${NB_UID}

RUN chsh -s /bin/bash

RUN <<EOF
echo "alias ls='eza'" >> ~/.bashrc
echo "alias cat='batcat'" >> ~/.bashrc
EOF

USER ${NB_UID}

WORKDIR "${HOME}"

0 comments on commit a97eca6

Please sign in to comment.