diff --git a/jupyterhub/base-gpu/Dockerfile b/jupyterhub/base-gpu/Dockerfile index f9c1d9d..b1998df 100644 --- a/jupyterhub/base-gpu/Dockerfile +++ b/jupyterhub/base-gpu/Dockerfile @@ -1,3 +1,5 @@ +# syntax=docker/dockerfile:1.3-labs + FROM nvidia/cuda:12.2.2-cudnn8-runtime-ubuntu22.04 ARG DEBIAN_FRONTEND=noninteractive @@ -39,11 +41,6 @@ RUN mkdir -p /etc/apt/keyrings && \ && \ apt-get clean && rm -rf /var/lib/apt/lists/* -# alias ls with eza -RUN echo "alias ls='eza'" >> ~/.bashrc -RUN echo "alias cat='batcat'" >> ~/.bashrc - - # Install Python 3.10 RUN apt-get update --yes && \ apt-get install --yes --no-install-recommends \ @@ -89,4 +86,11 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \ USER ${NB_UID} +RUN chsh -s /bin/bash + +RUN <> ~/.bashrc + echo "alias cat='batcat'" >> ~/.bashrc +EOF + WORKDIR "${HOME}" \ No newline at end of file