* changed settings for personal hub. * htop added to singleuser. * better singleuser. * config updated. * bad merge. * standard updates. * updates to builds. * updated. * updated path. * loc * stable build! * lab enabled. * dockerspawner bug fix. * stable upgrade. * remove env ending. * minimal installation script with python 2. * git enabled. * env. * upgraded hub for hartke. * setting cull idle servers. * default upgrade now working. * options. * tweaks for personal settings. * personalization. * update. * attempting full latex build. * lab build. * typo * separated layers. * got a fancy environment working * allspark. * updated personal hub settings. * allspark done. * updates. tflow. * octave deps. * rstudio and redundancy cleanup. * WIP * everything WORKS!!! * stable state with updates. * stuff to improve the experience. * merge. * working state. * settings. * settings for carme, successful build * settings tweaked for lab, sudo, debugger * working on carme * upgrade to python 3.9 and remove conda install steps * updates * major cleanup (#6) * update for slalom * disable options and grant sudo to all * vscode launcher * default url * pkgs * config * updates * typo * update * dont mount extras * update info in config * adding install scripts, cleaning up dockerfile * refactor class * clean up logic * carme * upgrades * update * swap order * spacing * updates * paths * rearranging * cleanup * lsp * cleanup * culler service update * unecessary option * more unecessary args * Update .env * monitoring Co-authored-by: mathematicalmichael <mpilosov@gmail.com>
61 lines
1.4 KiB
Docker
Executable File
61 lines
1.4 KiB
Docker
Executable File
ARG DOCKER_NOTEBOOK_IMAGE
|
|
FROM $DOCKER_NOTEBOOK_IMAGE
|
|
ARG JUPYTERHUB_VERSION
|
|
|
|
USER root
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
dvipng \
|
|
fonts-lato \
|
|
fonts-dejavu \
|
|
gcc \
|
|
gfortran \
|
|
ghostscript \
|
|
imagemagick \
|
|
lmodern \
|
|
&& \
|
|
apt-get -qq purge && \
|
|
apt-get -qq clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
# Dev tools
|
|
USER root
|
|
COPY install_dev_tools.sh /tmp/
|
|
RUN /tmp/install_dev_tools.sh
|
|
|
|
# Final cleaning and user customizations
|
|
USER $NB_UID
|
|
RUN \
|
|
fix-permissions $CONDA_DIR && \
|
|
fix-permissions /home/$NB_USER
|
|
|
|
USER root
|
|
COPY install_vscode.sh /tmp/
|
|
RUN /tmp/install_vscode.sh
|
|
|
|
USER $NB_UID
|
|
# RUN mamba install xeus-python -y
|
|
RUN pip install jupyter_server_proxy jupyterlab-miami-nights
|
|
RUN pip install black flake8 autopep8 isort pre-commit
|
|
|
|
COPY install_jupyter_nbextensions.sh /tmp/
|
|
# RUN /tmp/install_jupyter_nbextensions.sh
|
|
|
|
COPY install_language_server.sh /tmp/
|
|
RUN /tmp/install_language_server.sh
|
|
|
|
COPY install_monitoring.sh /tmp/
|
|
# RUN /tmp/install_monitoring.sh
|
|
|
|
## CONFIG
|
|
# Copy over config which creates launcher icons in jupyterlab
|
|
COPY jupyter_notebook_config.py /home/jovyan/.jupyter/
|
|
|
|
# USER SETTINGS
|
|
RUN echo "export EDITOR=/usr/bin/vim" >> /home/$NB_USER/.bashrc
|
|
RUN echo "export PAGER=less" >> /home/$NB_USER/.bashrc
|
|
|
|
# remember git login credentials
|
|
RUN git config --global credential.helper "cache --timeout 144000"
|