Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=profusion-mobi.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Txvu7cJEm+jD+0aPSsGaqM7SGrDPTMfASMdVGa4EgqM=; b=tDy4YazWS+JK26IRefLFHFy9DbXxi3o/BanMQ6axtqtrGrRv/qAs8/1+Rp5DJWnu3P CLmdZoBUm5EshFO03sgLS+XF383HIvR5PPVZxtyDyrhnayLk8+eSuFvo9rYJp+E9T6jA 4NHxC67RlTDXE8q30s0/f4Tlr4yMpfUxqwEnW8lGs87e7tCusvPURtRQYLXHH86m5fuB q3TKyuH4dMqRbDlzWpRobZTFZF7QBLPrmJQr9knR0NbFV5lzdQichfeoN/9dnm+VPywI O+5CMdjRCRIYq23xg2SELdxczS6YApW5pAvgBTkCKRFvIgkdjLxFJ3wdlhaofL/EkcXt rKjA== From: Guilherme Campos Camargo Date: Fri, 26 Jan 2018 15:35:45 -0200 Message-Id: <20180126173545.16424-10-guicc@profusion.mobi> In-Reply-To: <20180126173545.16424-1-guicc@profusion.mobi> References: <20180126173545.16424-1-guicc@profusion.mobi> Subject: [Fuego] [PATCH 9/9] Set depth to "one" and download just a single-branch on git clones List-Id: Mailing list for the Fuego test framework List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fuego@lists.linuxfoundation.org In order to improve git clone speeds Signed-off-by: Guilherme Campos Camargo --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 499dd52..0eeeca0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -120,13 +120,16 @@ RUN ./install.sh COPY frontend-install/setup/serial /setup/serial WORKDIR /setup -RUN git clone https://github.com/tbird20d/ttc.git /usr/local/src/ttc && \ +RUN git clone https://github.com/tbird20d/ttc.git \ + --depth 1 --single-branch /usr/local/src/ttc && \ ./serial/setup-ttc.sh -RUN git clone https://github.com/frowand/serio.git /usr/local/src/serio && \ +RUN git clone https://github.com/frowand/serio.git \ + --depth 1 --single-branch /usr/local/src/serio && \ ./serial/setup-serio.sh -RUN git clone https://github.com/tbird20d/serlogin.git /usr/local/src/serlogin && \ +RUN git clone https://github.com/tbird20d/serlogin.git \ + --depth 1 --single-branch /usr/local/src/serlogin && \ ./serial/setup-serlogin.sh COPY frontend-install/setup/lava /setup/lava -- 2.15.1