Skip to content

Commit

Permalink
feat (JupyterHub): Changed details at base-gpu.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniochavesgarcia committed Nov 17, 2023
1 parent 296518b commit 8e14e22
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions jupyterhub/base-gpu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# syntax=docker/dockerfile:1.3-labs

FROM nvidia/cuda:12.2.2-cudnn8-runtime-ubuntu22.04

ARG DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -89,4 +86,11 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \

USER ${NB_UID}

RUN chsh -s /bin/bash

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

WORKDIR "${HOME}"

0 comments on commit 8e14e22

Please sign in to comment.