Skip to content

Multi-arch (linux/amd64, linux/arm64/v8) Mojo docker images. Please submit Pull Requests to the GitLab repository. Mirror of

License

Notifications You must be signed in to change notification settings

b-data/mojo-docker-stack

Repository files navigation

Mojo docker stack

minimal-readme compliant Project Status: Active – The project has reached a stable, usable state and is being actively developed. Donate using Liberapay

Multi-arch (linux/amd64, linux/arm64/v8) docker images:

Images considered stable for Mojo versions ≥ 24.3.0.

Build chain

base → scipy

Features

These 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:

Usage

Build image (base)

nightly:

docker build \
  --build-arg MODULAR_VERSION=0.8.0 \
  --build-arg MODULAR_AUTH_KEY=<your-modular-auth-key> \
  --build-arg MOJO_VERSION=nightly \
  --build-arg PYTHON_VERSION=3.12.3 \
  -t mojo/base:nightly \
  -f base/latest.Dockerfile .

latest:

docker build \
  --build-arg MODULAR_VERSION=0.8.0 \
  --build-arg MODULAR_AUTH_KEY=<your-modular-auth-key> \
  --build-arg MOJO_VERSION=24.3.0 \
  --build-arg PYTHON_VERSION=3.12.3 \
  -t mojo/base \
  -f base/latest.Dockerfile .

version:

docker build \
  -t mojo/base:MAJOR.MINOR.PATCH \
  --build-arg MODULAR_AUTH_KEY=<your-modular-auth-key> \
  -f base/MAJOR.MINOR.PATCH.Dockerfile .

For MAJOR.MINOR.PATCH24.3.0.

Run container

self built:

docker run -it --rm mojo/base[:MAJOR.MINOR.PATCH]

from the project's GitLab Container Registries:

docker run -it --rm IMAGE[:MAJOR[.MINOR[.PATCH]]]

IMAGE being one of

Contributing

PRs accepted. Please submit to the GitLab repository.

This project follows the Contributor Covenant Code of Conduct.

License

Copyright © 2024 b-data GmbH

Distributed under the terms of the MIT License.