osmith has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/42138?usp=email )
Change subject: asterisk-master: use git clone --depth=1 ...................................................................... asterisk-master: use git clone --depth=1 Speed up cloning the big asterisk git repositories. Change-Id: Ifc0c2375482e39ecf2f34b93cf6f02a83da29990 --- M asterisk-master/Dockerfile 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified fixeria: Looks good to me, approved diff --git a/asterisk-master/Dockerfile b/asterisk-master/Dockerfile index ad8c925..dd37b33 100644 --- a/asterisk-master/Dockerfile +++ b/asterisk-master/Dockerfile @@ -50,7 +50,7 @@ ARG PJPROJECT_REMOTE=https://gitea.sysmocom.de/sysmocom/pjproject.git ARG PJPROJECT_BRANCH=sysmocom/2.14 -RUN git clone $PJPROJECT_REMOTE +RUN git clone $PJPROJECT_REMOTE -b $PJPROJECT_BRANCH --depth=1 ADD https://gitea.sysmocom.de/api/v1/repos/sysmocom/pjproject/git/refs/heads/$PJPROJECT_BRANCH /tmp/pjproject-ver RUN cd pjproject && \ @@ -61,7 +61,7 @@ # clone asterisk ARG ASTERISK_REMOTE=https://gitea.sysmocom.de/sysmocom/asterisk.git ARG ASTERISK_BRANCH=sysmocom/master -RUN git clone $ASTERISK_REMOTE +RUN git clone $ASTERISK_REMOTE -b $ASTERISK_BRANCH --depth=1 ADD https://gitea.sysmocom.de/api/v1/repos/sysmocom/asterisk/git/refs/heads/$ASTERISK_BRANCH /tmp/asterisk-ver -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/42138?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Ifc0c2375482e39ecf2f34b93cf6f02a83da29990 Gerrit-Change-Number: 42138 Gerrit-PatchSet: 2 Gerrit-Owner: osmith <[email protected]> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <[email protected]> Gerrit-Reviewer: osmith <[email protected]> Gerrit-Reviewer: pespin <[email protected]>
