Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision

Target

Select target project
  • acs/public/teaching/slew/slew-jupyter-profile
  • upasana1993pal31may/iambanalyses
  • hristo.vassilev/2-d-3-d
  • Arnd2/itsd-demo
  • andrea.hanke/datenverarbeitung-ii
  • inda/innda
  • felix.schwinger/ifo-m-2022-profile
  • john.arnold/cos-3-a-uebung
  • alexander.bonkowski/physchem-ii
  • jupyter/example-profile
  • johanna.ochs/example-profile
  • fibis/example-profile
  • ChristophGuenther/example-profile
  • annabell.brocker/example-profile
  • yanik.soeltzer/example-profile
  • henrik.hose/example-profile
  • christoph.weyer/example-profile
  • jakob-beetz/ifcopenshell-jupyter-profile
  • rohlfing/example-profile
  • noemi.kremer/example-profile
  • maximilian.vitz/jupyter-profile
  • japhba/edyn
  • ulf.liebal/iambanalyses
  • john.arnold/cos-3-a-uebung-showcase
  • steffen.kortmann/multi-energy-systems
  • hristo.vassilev/ml4ce-env
  • felix.gaumnitz/multi-energy-systems
  • jakob-beetz/bim-programming-2023
  • Christoph.Bannwarth/cos-3-a-uebung
  • aev-lectures/digitalization-of-energy-distribution-grids
  • joneschakk/example-profile-test-copy
  • thilo.birkenfeld/ex-phys-3
  • philipp.soldin/experimentalphysik-4-excercises
  • unruh/jupyter-intro-qc
  • kjlehmann/fb-bio-bioinformatics-course
  • mlcg/teaching/binf24
  • jens.brandt/jupyter-profile-oscar
  • yousseftarek12.yt/innda
  • lars.goettgens/jupyter-profile-oscar
  • mlcg/bioinfo-workshop
40 results
Select Git revision
Show changes
Commits on Source (3)
ARG BASE_IMAGE=registry.git.rwth-aachen.de/jupyter/profiles/rwth-courses-python-3.10:latest
FROM ${BASE_IMAGE}
ARG conda_env=python310
ARG py_ver=3.10
ARG disp_name="Python 3.10 (ipykernel)"
# Install packages via requirements.txt
ADD requirements.txt .
RUN "${CONDA_DIR}/envs/${conda_env}/bin/pip" install --no-cache-dir -r requirements.txt
# .. Or update conda base environment to match specifications in environment.yml
ADD environment.yml /tmp/environment.yml
# All packages specified in environment.yml are installed in the base environment
RUN mamba env update -n "${conda_env}" -f /tmp/environment.yml && \
mamba clean -a -f -y
ARG BASE_IMAGE=registry.git.rwth-aachen.de/jupyter/profiles/rwth-courses-python-3.11:latest
FROM ${BASE_IMAGE}
ARG conda_env=python311
ARG py_ver=3.11
ARG disp_name="Python 3.11 (ipykernel)"
# Install packages via requirements.txt
ADD requirements.txt .
RUN "${CONDA_DIR}/envs/${conda_env}/bin/pip" install --no-cache-dir -r requirements.txt
# .. Or update conda base environment to match specifications in environment.yml
ADD environment.yml /tmp/environment.yml
# All packages specified in environment.yml are installed in the base environment
RUN mamba env update -n "${conda_env}" -f /tmp/environment.yml && \
mamba clean -a -f -y
ARG BASE_IMAGE=registry.git.rwth-aachen.de/jupyter/profiles/rwth-courses-python-3.12:latest
FROM ${BASE_IMAGE}
ARG conda_env=python312
ARG py_ver=3.12
ARG disp_name="Python 3.12 (ipykernel)"
# Install packages via requirements.txt
ADD requirements.txt .
RUN "${CONDA_DIR}/envs/${conda_env}/bin/pip" install --no-cache-dir -r requirements.txt
# .. Or update conda base environment to match specifications in environment.yml
ADD environment.yml /tmp/environment.yml
# All packages specified in environment.yml are installed in the base environment
RUN mamba env update -n "${conda_env}" -f /tmp/environment.yml && \
mamba clean -a -f -y
ARG BASE_IMAGE=registry.git.rwth-aachen.de/jupyter/profiles/rwth-courses-python-3.13:latest
FROM ${BASE_IMAGE}
ARG conda_env=python313
ARG py_ver=3.13
ARG disp_name="Python 3.13 (ipykernel)"
# Install packages via requirements.txt
ADD requirements.txt .
RUN "${CONDA_DIR}/envs/${conda_env}/bin/pip" install --no-cache-dir -r requirements.txt
# .. Or update conda base environment to match specifications in environment.yml
ADD environment.yml /tmp/environment.yml
# All packages specified in environment.yml are installed in the base environment
RUN mamba env update -n "${conda_env}" -f /tmp/environment.yml && \
mamba clean -a -f -y
......@@ -2,11 +2,12 @@
## Introduction
This repository contains an exemplary Jupyter profile which works with the RWTHjupyter cluster. To be more specific, it includes the following files
This repository contains an exemplary Jupyter profiles which works with the RWTHjupyter cluster. To be more specific, it includes the following files
* `Quickstart.ipynb` which is an exemplary Jupyter notebook file.
* `environment.yml` which specifies the required Python packages needed to run `Quickstart.ipynb`. This file is used by Anaconda or `conda`.
* `Dockerfile` which defines the linux environment. In the end, the packages in `environment.yml` are installed.
* `Dockerfile` which defines the linux environment based on Python3.9. In the end, the packages in `environment.yml` are installed.
* `Dockerfile.python-*` defines the linux environment based on a specific python version. In the end, the packages in `environment.yml` are installed.
* `.gitlab-ci.yml` which specifies the necessary Docker build commands (which are executed every time `Dockerfile` changes in Git).
## Installation
......@@ -31,7 +32,12 @@ cd ${WORKDIR}
docker login registry.git.rwth-aachen.de
# Build the Docker image
docker build --tag jupyter-example-profile .
docker build --tag jupyter-example-profile . # Default version (Python 3.9)
docker build --tag jupyter-example-profile -f Dockerfile.python-3.10 # Python 3.10
docker build --tag jupyter-example-profile -f Dockerfile.python-3.11 # Python 3.11
docker build --tag jupyter-example-profile -f Dockerfile.python-3.12 # Python 3.12
docker build --tag jupyter-example-profile -f Dockerfile.python-3.13 # Python 3.13
# Run the Docker image
docker run --name='jupyter-example-profile' --rm --interactive --tty --publish 8888:8888 --volume ${WORKDIR}:/home/jovyan jupyter-example-profile
......@@ -72,6 +78,6 @@ To run the notebooks on your local machine, you may use [Anaconda](https://www.a
## Contact
* If you found a bug, please use the [issue tracker](https://git-ce.rwth-aachen.de/jupyter/profiles/examples/issues).
* In all other cases, please contact [Christian Rohlfing](http://www.ient.rwth-aachen.de/cms/c_rohlfing/).
* In all other cases, please contact the [ServiceDesk of the ITC](mailto:servicedesk@itc.rwth-aachen.de).
The code is licensed under the [MIT license](https://opensource.org/licenses/MIT).