Skip to content

Commit

Permalink
shallow clone gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
Melky-Phoe committed Sep 12, 2024
1 parent 147a1ee commit 3af4228
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example/docker/debian12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ 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 git://gcc.gnu.org/git/gcc.git /gcc && \
RUN git clone --depth=1 --single-branch --branch=releases/gcc-13.3.0 git://gcc.gnu.org/git/gcc.git /gcc && \
cd /gcc && \
git checkout releases/gcc-13 && \
contrib/download_prerequisites && \
mkdir objdir

Expand Down

0 comments on commit 3af4228

Please sign in to comment.