-
Olivier Benz authoredOlivier Benz authored
README.md 3.17 KiB
Python docker stack
Multi-arch (linux/amd64
, linux/arm64/v8
) images:
registry.gitlab.b-data.ch/python/ver
registry.gitlab.b-data.ch/python/base
registry.gitlab.b-data.ch/python/scipy
Images considered stable for Python versions ≥ 3.10.5.
Build chain
ver → base → scipy
Features
registry.gitlab.b-data.ch/python/ver
serves as parent image for
registry.gitlab.b-data.ch/jupyterlab/python/base
.
The other images are counterparts to the JupyterLab images but without
- code-server
- IPython
- JupyterHub
- JupyterLab
- JupyterLab Extensions
- JupyterLab Integrations
- Jupyter Notebook
- Jupyter Notebook Conversion
- LSP Server
- Oh My Zsh
- Powerlevel10k Theme
- MesloLGS NF Font
- Widgets
and any configuration thereof.
Table of Contents
Prerequisites
This projects requires an installation of docker.
Install
To install docker, follow the instructions for your platform:
- Install Docker Engine | Docker Documentation > Supported platforms
- Post-installation steps for Linux
Usage
Build image (ver)
latest:
cd ver && docker build \
--build-arg PYTHON_VERSION=3.11.1 \
-t python/ver \
-f latest.Dockerfile .
version:
cd ver && docker build \
-t python/ver:MAJOR.MINOR.PATCH \
-f MAJOR.MINOR.PATCH.Dockerfile .
For MAJOR.MINOR.PATCH
≥ 3.10.5
.
Run container
self built:
docker run -it --rm python/ver[:MAJOR.MINOR.PATCH]
from the project's GitLab Container Registries:
-
python/ver
docker run -it --rm \ registry.gitlab.b-data.ch/python/ver[:MAJOR[.MINOR[.PATCH]]]
-
python/base
docker run -it --rm \ registry.gitlab.b-data.ch/python/base[:MAJOR[.MINOR[.PATCH]]]
-
python/scipy
docker run -it --rm \ registry.gitlab.b-data.ch/python/scipy[:MAJOR[.MINOR[.PATCH]]]
Contributing
PRs accepted.
This project follows the Contributor Covenant Code of Conduct.
License
MIT © 2022 b-data GmbH