Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openmodelica/build-deps
OpenModelica build-deps Docker Image
https://github.com/openmodelica/build-deps
docker-image openmodelica
Last synced: 17 days ago
JSON representation
OpenModelica build-deps Docker Image
- Host: GitHub
- URL: https://github.com/openmodelica/build-deps
- Owner: OpenModelica
- License: mit
- Created: 2023-08-03T08:51:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-09T10:00:58.000Z (5 months ago)
- Last Synced: 2024-08-10T10:14:59.920Z (5 months ago)
- Topics: docker-image, openmodelica
- Language: Dockerfile
- Homepage: https://hub.docker.com/repository/docker/openmodelica/build-deps/general
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# OpenModelica build-deps Docker Image
[![Build Docker Image](https://github.com/OpenModelica/build-deps/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/OpenModelica/build-deps/actions/workflows/build.yml)
[![Publish Docker Image](https://github.com/OpenModelica/build-deps/actions/workflows/publish.yml/badge.svg)](https://github.com/OpenModelica/build-deps/actions/workflows/publish.yml)The Docker image used to build and deploy
[OpenModelica](https://github.com/OpenModelica/OpenModelica) with
[Jenkins](https://test.openmodelica.org/jenkins/).## Structure of the Repository
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](./.github/workflows/publish.yml) will publish the Docker image to
[OpenModelica/build-deps](https://hub.docker.com/repository/docker/OpenModelica/build-deps).### Ubuntu based Images
- 22.04 Jammy: [releases/v1.22](https://github.com/OpenModelica/build-deps/tree/releases/v1.22)
- 20.04 Focal: [releases/v1.21](https://github.com/OpenModelica/build-deps/tree/releases/v1.21)
- 18.04 Bionic + cmake: [releases/v1.16-cmake](https://github.com/OpenModelica/build-deps/tree/releases/v1.16-cmake)
- 18.04 Bionic: [releases/v1.16](https://github.com/OpenModelica/build-deps/tree/releases/v1.16)### Debian based Images
- 12 Bookworm
- 11 Bullseye### CentOS based Images
- CentOS7
## Build
```bash
export TAG=v1.22.0
docker build --pull --no-cache --tag build-deps:$TAG .
```## Upload
The [publish.yml](./.github/workflows/publish.yml) workflow will build and
upload the Docker image to
[(OpenModelica/build-deps](https://hub.docker.com/repository/docker/OpenModelica/build-deps)
for each release.To do it manually run:
```bash
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
```## License
The original Dockerfile was taken from
[https://github.com/OpenModelica/OpenModelicaBuildScripts](OpenModelica/OpenModelicaBuildScripts).
See [LICENSE.md](./LICENSE.md).