diff --git a/example/docker/debian12/Dockerfile b/example/docker/debian12/Dockerfile index 359d7b6..3f3bce0 100644 --- a/example/docker/debian12/Dockerfile +++ b/example/docker/debian12/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update && \ build-essential binutils lsb-release make git libssl-dev openssh-server wget patchelf software-properties-common flex && \ rm -rf /var/lib/apt/lists/* -RUN git clone --depth=1 --single-branch --branch=releases/gcc-13.3.0 git://gcc.gnu.org/git/gcc.git /gcc && \ +RUN git clone --depth=1 --single-branch --branch=releases/gcc-13.2.0 git://gcc.gnu.org/git/gcc.git /gcc && \ cd /gcc && \ contrib/download_prerequisites && \ mkdir objdir diff --git a/example/docker/ubuntu2404/Dockerfile b/example/docker/ubuntu2404/Dockerfile index e52da87..6420706 100644 --- a/example/docker/ubuntu2404/Dockerfile +++ b/example/docker/ubuntu2404/Dockerfile @@ -5,9 +5,18 @@ RUN echo root:1234 | chpasswd RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y \ - coreutils lsb-release build-essential openssh-server git libssl-dev patchelf cmake && \ + coreutils lsb-release build-essential openssh-server git libssl-dev wget patchelf && \ rm -rf /var/lib/apt/lists/* +RUN wget "https://github.com/Kitware/CMake/releases/download/v3.30.3/cmake-3.30.3-linux-x86_64.sh" -O cmake.sh && \ + chmod +x cmake.sh && \ + ./cmake.sh --skip-license --prefix=/usr/local && \ + rm ./cmake.sh + +RUN apt-get purge -y \ + wget && \ + rm -rf /var/lib/apt/lists/* + RUN git clone https://github.com/cmakelib/cmakelib.git /cmakelib RUN echo "export CMLIB_DIR=/cmakelib" >> /root/.bashrc