We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10a6e38 commit 8d7db95Copy full SHA for 8d7db95
Dockerfile
@@ -60,7 +60,10 @@ RUN \
60
sudo apt update && \
61
# The linuxdeploy cmake requires 3.2, but compatibility with CMake < 3.5 has been
62
# removed from CMake as of 4.0.0
63
- sudo apt install -y cmake=3.31.6-0kitware1ubuntu22.04.1 cmake-data=3.31.6-0kitware1ubuntu22.04.1 && \
+ UBUNTU_VERSION=$(grep '^VERSION_ID=' /etc/os-release | cut -d'"' -f2) && \
64
+ VERSION="3.31.6-0kitware1ubuntu${UBUNTU_VERSION}.1" && \
65
+ sudo apt-get update && \
66
+ sudo apt-get install -y cmake=${VERSION} cmake-data=${VERSION} && \
67
sudo apt-mark hold cmake cmake-data && \
68
sudo rm -rf /var/lib/apt/lists
69
0 commit comments