Skip to content

Commit

Permalink
resolve MR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Melky-Phoe committed Sep 25, 2024
1 parent 1ec9974 commit 72c95cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/docker/debian12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 10 additions & 1 deletion example/docker/ubuntu2404/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 72c95cc

Please sign in to comment.