FROM debian:buster RUN printf "%s\n%s\n" \ "deb http://ftp.linux.cz/pub/linux/debian buster main contrib non-free" \ "deb http://ftp.linux.cz/pub/linux/debian buster-updates main contrib non-free" \ > /etc/apt/sources.list RUN apt-get update \ && apt-get install -y openssh-client git build-essential jupyter-notebook python3-ipython \ && apt-get clean ARG UID=1000 RUN useradd -u $UID -m -s /bin/bash jupyter RUN pip3 install bash_kernel && python3 -m bash_kernel.install RUN pip3 install jupyter-c-kernel && install_c_kernel USER jupyter WORKDIR /home/jupyter EXPOSE 8888/tcp ENTRYPOINT jupyter-notebook --no-browser --ip=0.0.0.0