Skip to content

Commit

Permalink
Use Dockerfile with CMake (#10896)
Browse files Browse the repository at this point in the history
- Use docker.openmodelica.org/build-deps-cmake:v1.16.3 with already installed
    CMake v3.17.2
  • Loading branch information
AnHeuermann committed Jun 28, 2023
1 parent f41a266 commit c6a5663
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .CI/cache-bionic-cmake-3.17.2/Dockerfile
@@ -1,11 +1,6 @@
# Cannot be parametrized in Jenkins...
FROM docker.openmodelica.org/build-deps:v1.16.3
FROM docker.openmodelica.org/build-deps-cmake:v1.16.3

# We don't know the uid of the user who will build, so make the /cache directories world writable
RUN mkdir -p /cache/runtest/ /cache/omlibrary/ && chmod ugo+rwx /cache/runtest/ /cache/omlibrary/ \
&& apt-get remove -qy cmake cmake-data

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

0 comments on commit c6a5663

Please sign in to comment.