cmake bump to 3.25.2

dev Note:

git ls-files -z | xargs -0 sed -i -e 's;CMake 3\.2[0-9]\.[0-9]\+;CMake 3.25.2;g'
git ls-files -z | xargs -0 sed -i -e 's;cmake-3\.2[0-9]\.[0-9];cmake-3.25.2;g'
git ls-files -z | xargs -0 sed -i -e 's;/v3\.2[0-9]/cmake-3\.2[0-9]\.[0-9];/v3.25/cmake-3.25.2;g'
This commit is contained in:
Mizux Seiha
2023-02-02 17:11:12 +01:00
parent 93c0c7f035
commit 590471becf
29 changed files with 145 additions and 145 deletions

View File

@@ -19,11 +19,11 @@ RUN dnf -y update \
RUN echo "source /opt/rh/gcc-toolset-11/enable" >> /etc/bashrc
SHELL ["/bin/bash", "--login", "-c"]
# Install CMake 3.21.1
RUN wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-x86_64.sh" \
&& chmod a+x cmake-3.21.1-linux-x86_64.sh \
&& ./cmake-3.21.1-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-x86_64.sh
# Install CMake 3.25.2
RUN wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.sh" \
&& chmod a+x cmake-3.25.2-linux-x86_64.sh \
&& ./cmake-3.25.2-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-x86_64.sh
CMD [ "/usr/bin/bash" ]
# Install SWIG 4.1.1

View File

@@ -9,11 +9,11 @@ RUN apt-get update -qq \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install CMake 3.21.1
RUN wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-x86_64.sh" \
&& chmod a+x cmake-3.21.1-linux-x86_64.sh \
&& ./cmake-3.21.1-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-x86_64.sh
# Install CMake 3.25.2
RUN wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.sh" \
&& chmod a+x cmake-3.25.2-linux-x86_64.sh \
&& ./cmake-3.25.2-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-x86_64.sh
CMD [ "/bin/bash" ]
FROM base AS swig

View File

@@ -7,11 +7,11 @@ RUN apt-get update -qq \
&& apt-get install -yq git wget libssl-dev build-essential \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install CMake 3.21.1
RUN wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-x86_64.sh" \
&& chmod a+x cmake-3.21.1-linux-x86_64.sh \
&& ./cmake-3.21.1-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-x86_64.sh
# Install CMake 3.25.2
RUN wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.sh" \
&& chmod a+x cmake-3.25.2-linux-x86_64.sh \
&& ./cmake-3.25.2-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-x86_64.sh
CMD [ "/usr/bin/bash" ]
FROM env AS devel

View File

@@ -11,11 +11,11 @@ RUN apt-get update -qq \
ENTRYPOINT ["/usr/bin/bash", "-c"]
CMD ["/usr/bin/bash"]
# Install CMake 3.24.1
RUN wget "https://cmake.org/files/v3.24/cmake-3.24.1-linux-x86_64.sh" \
&& chmod a+x cmake-3.24.1-linux-x86_64.sh \
&& ./cmake-3.24.1-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.24.1-linux-x86_64.sh
# Install CMake 3.25.2
RUN wget "https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.sh" \
&& chmod a+x cmake-3.25.2-linux-x86_64.sh \
&& ./cmake-3.25.2-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-x86_64.sh
FROM env AS devel
WORKDIR /home/project

View File

@@ -9,11 +9,11 @@ RUN apt-get update -qq \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install CMake 3.21.1
RUN wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-x86_64.sh" \
&& chmod a+x cmake-3.21.1-linux-x86_64.sh \
&& ./cmake-3.21.1-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-x86_64.sh
# Install CMake 3.25.2
RUN wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.sh" \
&& chmod a+x cmake-3.25.2-linux-x86_64.sh \
&& ./cmake-3.25.2-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-x86_64.sh
CMD [ "/usr/bin/bash" ]
FROM base AS swig

View File

@@ -20,11 +20,11 @@ RUN dnf -y update \
RUN echo "source /opt/rh/gcc-toolset-11/enable" >> /etc/bashrc
SHELL ["/bin/bash", "--login", "-c"]
# Install CMake 3.21.1
RUN wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-x86_64.sh" \
&& chmod a+x cmake-3.21.1-linux-x86_64.sh \
&& ./cmake-3.21.1-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-x86_64.sh
# Install CMake 3.25.2
RUN wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.sh" \
&& chmod a+x cmake-3.25.2-linux-x86_64.sh \
&& ./cmake-3.25.2-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-x86_64.sh
CMD [ "/usr/bin/bash" ]
# Install SWIG 4.1.1

View File

@@ -10,11 +10,11 @@ RUN apt-get update -qq \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install CMake 3.21.1
RUN wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-x86_64.sh" \
&& chmod a+x cmake-3.21.1-linux-x86_64.sh \
&& ./cmake-3.21.1-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-x86_64.sh
# Install CMake 3.25.2
RUN wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.sh" \
&& chmod a+x cmake-3.25.2-linux-x86_64.sh \
&& ./cmake-3.25.2-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-x86_64.sh
CMD [ "/bin/bash" ]
FROM base AS swig

View File

@@ -10,11 +10,11 @@ RUN apt-get update -qq \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install CMake 3.21.1
RUN wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-x86_64.sh" \
&& chmod a+x cmake-3.21.1-linux-x86_64.sh \
&& ./cmake-3.21.1-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-x86_64.sh
# Install CMake 3.25.2
RUN wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.sh" \
&& chmod a+x cmake-3.25.2-linux-x86_64.sh \
&& ./cmake-3.25.2-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-x86_64.sh
CMD [ "/usr/bin/bash" ]
FROM base AS swig

View File

@@ -21,12 +21,12 @@ ENTRYPOINT ["/usr/bin/bash", "--login", "-c"]
CMD ["/usr/bin/bash", "--login"]
# RUN g++ --version
# Install CMake 3.23.2
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.23/cmake-3.23.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.23.2-linux-${ARCH}.sh \
&& ./cmake-3.23.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.23.2-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
# Install Swig 4.1.1
RUN curl --location-trusted \

View File

@@ -22,12 +22,12 @@ ENTRYPOINT ["/usr/bin/bash", "--login", "-c"]
CMD ["/usr/bin/bash", "--login"]
# RUN g++ --version
# Install CMake 3.23.2
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.23/cmake-3.23.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.23.2-linux-${ARCH}.sh \
&& ./cmake-3.23.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.23.2-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
# Install Swig
RUN dnf -y update \

View File

@@ -13,12 +13,12 @@ RUN apt-get update -qq \
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["/bin/bash"]
# Install CMake 3.23.2
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.23/cmake-3.23.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.23.2-linux-${ARCH}.sh \
&& ./cmake-3.23.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.23.2-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
# Install .Net
# see https://docs.microsoft.com/en-us/dotnet/core/install/linux-debian#debian-10-

View File

@@ -13,12 +13,12 @@ RUN apt-get update -qq \
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["/bin/bash"]
# Install CMake 3.23.2
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.23/cmake-3.23.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.23.2-linux-${ARCH}.sh \
&& ./cmake-3.23.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.23.2-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
# Install .Net
# see https://docs.microsoft.com/en-us/dotnet/core/install/linux-debian#debian-11-

View File

@@ -14,12 +14,12 @@ ENV CC=gcc-11 CXX=g++-11
ENTRYPOINT ["/usr/bin/bash", "-c"]
CMD ["/usr/bin/bash"]
# Install CMake 3.23.2
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.23/cmake-3.23.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.23.2-linux-${ARCH}.sh \
&& ./cmake-3.23.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.23.2-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
# Install SWIG
RUN zypper refresh \

View File

@@ -20,12 +20,12 @@ ENV CC=gcc-11 CXX=g++-11
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["/bin/bash"]
# Install CMake 3.23.2
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.23/cmake-3.23.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.23.2-linux-${ARCH}.sh \
&& ./cmake-3.23.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.23.2-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
# Install SWIG
RUN apt-get update -qq \

View File

@@ -13,12 +13,12 @@ RUN apt update -qq \
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["/bin/bash"]
# Install CMake 3.23.2
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.23/cmake-3.23.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.23.2-linux-${ARCH}.sh \
&& ./cmake-3.23.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.23.2-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
# Install SWIG
RUN apt-get update -qq \

View File

@@ -18,11 +18,11 @@ RUN apt update -qq \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV CC=gcc-11 CXX=g++-11
# Install CMake 3.21.1
RUN wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-x86_64.sh" \
&& chmod a+x cmake-3.21.1-linux-x86_64.sh \
&& ./cmake-3.21.1-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-x86_64.sh
# Install CMake 3.25.2
RUN wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.sh" \
&& chmod a+x cmake-3.25.2-linux-x86_64.sh \
&& ./cmake-3.25.2-linux-x86_64.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-x86_64.sh
FROM env AS devel
WORKDIR /root

View File

@@ -22,11 +22,11 @@ RUN yum -y update \
ENTRYPOINT ["/usr/bin/bash", "-c"]
CMD ["/usr/bin/bash"]
# Install CMake 3.22.2
RUN wget -q --no-check-certificate "https://cmake.org/files/v3.22/cmake-3.22.2-linux-x86_64.sh" \
&& chmod a+x cmake-3.22.2-linux-x86_64.sh \
&& ./cmake-3.22.2-linux-x86_64.sh --prefix=/usr --skip-license \
&& rm cmake-3.22.2-linux-x86_64.sh
# Install CMake 3.25.2
RUN wget -q --no-check-certificate "https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.sh" \
&& chmod a+x cmake-3.25.2-linux-x86_64.sh \
&& ./cmake-3.25.2-linux-x86_64.sh --prefix=/usr --skip-license \
&& rm cmake-3.25.2-linux-x86_64.sh
# Install Swig 4.1.1
RUN curl --location-trusted \

View File

@@ -24,11 +24,11 @@ RUN yum -y update \
ENTRYPOINT ["/usr/bin/bash", "-c"]
CMD ["/usr/bin/bash"]
# Install CMake 3.22.2
RUN wget -q --no-check-certificate "https://cmake.org/files/v3.22/cmake-3.22.2-linux-aarch64.sh" \
&& chmod a+x cmake-3.22.2-linux-aarch64.sh \
&& ./cmake-3.22.2-linux-aarch64.sh --prefix=/usr --skip-license \
&& rm cmake-3.22.2-linux-aarch64.sh
# Install CMake 3.25.2
RUN wget -q --no-check-certificate "https://cmake.org/files/v3.25/cmake-3.25.2-linux-aarch64.sh" \
&& chmod a+x cmake-3.25.2-linux-aarch64.sh \
&& ./cmake-3.25.2-linux-aarch64.sh --prefix=/usr --skip-license \
&& rm cmake-3.25.2-linux-aarch64.sh
# Install Swig 4.1.1
RUN curl --location-trusted \

View File

@@ -21,12 +21,12 @@ ENTRYPOINT ["/usr/bin/bash", "--login", "-c"]
CMD ["/usr/bin/bash", "--login"]
# RUN g++ --version
# Install CMake 3.21.1
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.21.1-linux-${ARCH}.sh \
&& ./cmake-3.21.1-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
WORKDIR /root
ADD or-tools_amd64_centos-7_cpp_v*.tar.gz .

View File

@@ -19,12 +19,12 @@ ENTRYPOINT ["/usr/bin/bash", "--login", "-c"]
CMD ["/usr/bin/bash", "--login"]
# RUN g++ --version
# Install CMake 3.21.1
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.21.1-linux-${ARCH}.sh \
&& ./cmake-3.21.1-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
WORKDIR /root
ADD or-tools_amd64_centos-8_cpp_v*.tar.gz .

View File

@@ -8,12 +8,12 @@ RUN apt-get update \
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["/bin/bash"]
# Install CMake 3.21.1
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.21.1-linux-${ARCH}.sh \
&& ./cmake-3.21.1-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
WORKDIR /root
ADD or-tools_amd64_debian-10_cpp_v*.tar.gz .

View File

@@ -8,12 +8,12 @@ RUN apt-get update \
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["/bin/bash"]
# Install CMake 3.21.1
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.21.1-linux-${ARCH}.sh \
&& ./cmake-3.21.1-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
WORKDIR /root
ADD or-tools_amd64_debian-10_python_v*.tar.gz .

View File

@@ -8,12 +8,12 @@ RUN apt-get update \
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["/bin/bash"]
# Install CMake 3.21.1
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.21.1-linux-${ARCH}.sh \
&& ./cmake-3.21.1-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
WORKDIR /root
ADD or-tools_amd64_debian-11_cpp_v*.tar.gz .

View File

@@ -8,12 +8,12 @@ RUN apt-get update \
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["/bin/bash"]
# Install CMake 3.21.1
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.21.1-linux-${ARCH}.sh \
&& ./cmake-3.21.1-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
WORKDIR /root
ADD or-tools_amd64_debian-11_python_v*.tar.gz .

View File

@@ -12,12 +12,12 @@ ENV CC=gcc-11 CXX=g++-11
ENTRYPOINT ["/usr/bin/bash", "-c"]
CMD ["/usr/bin/bash"]
# Install CMake 3.21.1
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.21.1-linux-${ARCH}.sh \
&& ./cmake-3.21.1-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
WORKDIR /root
ADD or-tools_amd64_opensuse-leap_cpp_v*.tar.gz .

View File

@@ -17,12 +17,12 @@ ENV CC=gcc-11 CXX=g++-11
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["/bin/bash"]
# Install CMake 3.21.1
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.21.1-linux-${ARCH}.sh \
&& ./cmake-3.21.1-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
#ENV TZ=America/Los_Angeles
#RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

View File

@@ -9,12 +9,12 @@ RUN apt-get update \
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["/bin/bash"]
# Install CMake 3.21.1
# Install CMake 3.25.2
RUN ARCH=$(uname -m) \
&& wget -q "https://cmake.org/files/v3.21/cmake-3.21.1-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.21.1-linux-${ARCH}.sh \
&& ./cmake-3.21.1-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.21.1-linux-${ARCH}.sh
&& wget -q "https://cmake.org/files/v3.25/cmake-3.25.2-linux-${ARCH}.sh" \
&& chmod a+x cmake-3.25.2-linux-${ARCH}.sh \
&& ./cmake-3.25.2-linux-${ARCH}.sh --prefix=/usr/local/ --skip-license \
&& rm cmake-3.25.2-linux-${ARCH}.sh
WORKDIR /root
ADD or-tools_amd64_ubuntu-20.04_cpp_v*.tar.gz .

View File

@@ -12,11 +12,11 @@ RUN yum -y update \
ENTRYPOINT ["/usr/bin/bash", "-c"]
CMD ["/usr/bin/bash"]
# Install CMake 3.23.2
RUN wget -q --no-check-certificate "https://cmake.org/files/v3.23/cmake-3.23.2-linux-x86_64.sh" \
&& chmod a+x cmake-3.23.2-linux-x86_64.sh \
&& ./cmake-3.23.2-linux-x86_64.sh --prefix=/usr --skip-license \
&& rm cmake-3.23.2-linux-x86_64.sh
# Install CMake 3.25.2
RUN wget -q --no-check-certificate "https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.sh" \
&& chmod a+x cmake-3.25.2-linux-x86_64.sh \
&& ./cmake-3.25.2-linux-x86_64.sh --prefix=/usr --skip-license \
&& rm cmake-3.25.2-linux-x86_64.sh
# Install Swig 4.1.1
RUN curl --location-trusted \

View File

@@ -19,11 +19,11 @@ RUN dnf -y update \
ENTRYPOINT ["/usr/bin/bash", "-c"]
CMD ["/usr/bin/bash"]
# Install CMake 3.23.2
RUN wget -q --no-check-certificate "https://cmake.org/files/v3.23/cmake-3.23.2-linux-aarch64.sh" \
&& chmod a+x cmake-3.23.2-linux-aarch64.sh \
&& ./cmake-3.23.2-linux-aarch64.sh --prefix=/usr --skip-license \
&& rm cmake-3.23.2-linux-aarch64.sh
# Install CMake 3.25.2
RUN wget -q --no-check-certificate "https://cmake.org/files/v3.25/cmake-3.25.2-linux-aarch64.sh" \
&& chmod a+x cmake-3.25.2-linux-aarch64.sh \
&& ./cmake-3.25.2-linux-aarch64.sh --prefix=/usr --skip-license \
&& rm cmake-3.25.2-linux-aarch64.sh
# Install Swig 4.1.1
RUN curl --location-trusted \