casabre / julia-python

Create combined Julia and Python images, e.g. for cross-testing/building

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Julia Docker images

This repository is a CI only repository and meant to utilize Github actions in order to patch a specific Julia Dockerfile and combine it with the requested Python image.

Pulling a combined docker image

For instance if you need Python 3.8 and Julia 1.6, just run

PYTHON_VERSION=3.8
JULIA_VERSION=1.6

docker pull "docker.io/casabre/python-julia:${PYTHON_VERSION}-${JULIA_VERSION}"

Supported versions

Support for Python and Julia versions

Versions 3.7 3.8 3.9 3.10 3.11
1.6 ✔️ ✔️ ✔️ ✔️ ✔️
1.7 ✔️ ✔️ ✔️ ✔️ ✔️
1.8 ✔️ ✔️ ✔️ ✔️ ✔️

Updating versions

If you need more versions, please check the accesibility of the Julia Dockerfile link and/or the Python image for that specific version and extend the docker.yml file in the matrix section and finally update the supported versions table, e.g.

...
jobs:
  push_to_registry:
    name: Push Docker image to GitHub Packages
    strategy:
      fail-fast: false
      matrix:        
        julia: [1.6, 1.7, 1.8, 1.x]
        python: [3.7, 3.8, 3.9, 3.10, 3.11, 3.x]
...

In the end, please create a new pull request.

About

Create combined Julia and Python images, e.g. for cross-testing/building

License:MIT License


Languages

Language:Shell 100.0%