Skip to content

Commit

Permalink
Install CMake 3.17.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AnHeuermann committed Aug 3, 2023
1 parent 68939d7 commit 2890755
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ RUN wget https://raw.githubusercontent.com/OpenModelica/OpenModelica-doc/master/
&& pip3 install --no-cache-dir --upgrade -r requirements.txt \
&& pip3 install --no-cache-dir --upgrade junit_xml simplejson svgwrite # ComplianceSuite

# Install cmake 3.17.2.
RUN wget cmake.org/files/v3.17/cmake-3.17.2-Linux-x86_64.sh \
&& mkdir -p /opt/cmake-3.17.2 \
&& sh cmake-3.17.2-Linux-x86_64.sh --prefix=/opt/cmake-3.17.2 --skip-license \
&& rm cmake-3.17.2-Linux-x86_64.sh

# Clean
RUN rm -rf /var/lib/apt/lists/* \
&& apt-get clean \
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# OpenModelica build-deps Docker Image

[![Build v1.16](https://github.com/AnHeuermann/build-deps/actions/workflows/build.yml/badge.svg?branch=releases%2Fv1.16)](https://github.com/AnHeuermann/build-deps/actions/workflows/build.yml)
[![Publish v1.16](https://github.com/AnHeuermann/build-deps/actions/workflows/publish.yml/badge.svg?branch=releases%2Fv1.16)](https://github.com/AnHeuermann/build-deps/actions/workflows/publish.yml)
[![Build v1.16-cmake](https://github.com/AnHeuermann/build-deps/actions/workflows/build.yml/badge.svg?branch=releases%2Fv1.16-cmake)](https://github.com/AnHeuermann/build-deps/actions/workflows/build.yml)
[![Publish v1.16-cmake](https://github.com/AnHeuermann/build-deps/actions/workflows/publish.yml/badge.svg?branch=releases%2Fv1.16-cmake)](https://github.com/AnHeuermann/build-deps/actions/workflows/publish.yml)

The Docker image used to build and deploy
[OpenModelica](https://github.com/OpenModelica/OpenModelica) with
Expand All @@ -10,7 +10,7 @@ Jenkins[https://test.openmodelica.org/jenkins/].
## Build

```bash
export TAG=v1.16.2
export TAG=v1.16.3-cmake
docker build --pull --no-cache --tag build-deps:$(TAG) .
```

Expand All @@ -24,7 +24,7 @@ Otherwise run:

```bash
export REGISTRY=anheuermann
export TAG=v1.16.2
export TAG=v1.16.3-cmake
docker login
docker image tag build-deps:$(VERSION) $(REGISTRY)/build-deps:$(TAG)
```
Expand Down

0 comments on commit 2890755

Please sign in to comment.