The Docker image used to build and deploy OpenModelica with Jenkins.
Each minor version of the Dockerfile corresponds to a OpenModelica minor version and has its own branch. Each branch has tags for each patch version.
When creating a release form a tag the workflow will publish the Docker image to OpenModelica/build-deps.
- 22.04 Jammy: releases/v1.22
- 20.04 Focal: releases/v1.21
- 18.04 Bionic + cmake: releases/v1.16-cmake
- 18.04 Bionic: releases/v1.16
- 12 Bookworm
- 11 Bullseye
- CentOS7
export TAG=v1.22.0
docker build --pull --no-cache --tag build-deps:$TAG .
The publish.yml workflow will build and upload the Docker image to (OpenModelica/build-deps for each release.
To do it manually run:
export REGISTRY=openmodelica
export TAG=v1.22.0
docker login
docker image tag build-deps:$TAG $REGISTRY/build-deps:$TAG
docker push $REGISTRY/build-deps:$TAG
The original Dockerfile was taken from https://github.com/OpenModelica/OpenModelicaBuildScripts. See LICENSE.md.