Skip to content

Commit

Permalink
Apply --depth 1 to submodules too by using --shallow-submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinFinck committed Feb 26, 2024
1 parent 1a097fd commit 28cc46c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ LABEL Description="Debian with CeGCC 9.3.0 (ENLYZE version for ARM and i386) and
RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends bison build-essential ca-certificates flex git libgmp-dev libmpc-dev libmpfr-dev texinfo

RUN git clone --depth 1 --recursive https://github.com/enlyze/cegcc-build && \
RUN git clone --depth 1 --recursive --shallow-submodules https://github.com/enlyze/cegcc-build && \
cd cegcc-build && \
./build_cf.sh /opt/cegcc-arm arm-mingw32ce && \
cd .. && \
rm -rf cegcc-build

RUN git clone --depth 1 --recursive https://github.com/enlyze/cegcc-build && \
RUN git clone --depth 1 --recursive --shallow-submodules https://github.com/enlyze/cegcc-build && \
cd cegcc-build && \
./build_cf.sh /opt/cegcc-i386 i386-mingw32ce && \
cd .. && \
Expand Down

0 comments on commit 28cc46c

Please sign in to comment.