better git clones

Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle
2016-12-27 17:04:58 -08:00
parent 996f7a6367
commit 3e0fc7968f
22 changed files with 46 additions and 38 deletions

View File

@@ -15,7 +15,7 @@ RUN buildDeps=' \
&& set -x \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& git clone https://github.com/robertdavidgraham/masscan.git /usr/src/masscan \
&& git clone --depth 1 https://github.com/robertdavidgraham/masscan.git /usr/src/masscan \
&& cd /usr/src/masscan \
&& make \
&& make install \