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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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-
|
||||
|
||||
@@ -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-
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 .
|
||||
|
||||
@@ -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 .
|
||||
|
||||
@@ -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 .
|
||||
|
||||
@@ -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 .
|
||||
|
||||
@@ -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 .
|
||||
|
||||
@@ -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 .
|
||||
|
||||
@@ -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 .
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 .
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user