From 8e14e224f3fed89bc3a9cafca932ffb9b3a66019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Jes=C3=BAs?= Date: Fri, 17 Nov 2023 09:08:54 +0100 Subject: [PATCH] feat (JupyterHub): Changed details at base-gpu. --- jupyterhub/base-gpu/Dockerfile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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