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

@@ -19,7 +19,7 @@ RUN set -x \
&& apk add --no-cache --virtual .build-deps \
git \
&& mkdir -p /opt/plexpy \
&& git clone --branch "${PLEXPY_VERSION}" https://github.com/drzoidberg33/plexpy.git /opt/plexpy/ \
&& git clone --depth 1 --branch "${PLEXPY_VERSION}" https://github.com/drzoidberg33/plexpy.git /opt/plexpy/ \
&& apk del .build-deps
# Volume for Plexpy data.