Skip to content

Commit

Permalink
Use shallow clone in docker (winery#646)
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoli Babenia <[email protected]>
  • Loading branch information
abitrolly authored Jan 25, 2022
1 parent de2c8c7 commit 749c59b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ Copyright (c) 2021 Andrej Nisin
Copyright (c) 2021 Marvin Bechtold
Copyright (c) 2021 Timm Pankratz
Copyright (c) 2021 Lavinia Stiliadou
Copyright (c) 2022 Anatoli Babenia

== Third-party Content

Expand Down
2 changes: 1 addition & 1 deletion docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ -d "${WINERY_REPOSITORY_PATH}" ] && [ "$(ls -A ${WINERY_REPOSITORY_PATH})"
echo "Repository at ${WINERY_REPOSITORY_PATH} is already initialized!";
else
if [ ! "x${WINERY_REPOSITORY_URL}" = "x" ]; then
git clone ${WINERY_REPOSITORY_URL} ${WINERY_REPOSITORY_PATH};
git clone --depth 1 ${WINERY_REPOSITORY_URL} ${WINERY_REPOSITORY_PATH};
else
git init ${WINERY_REPOSITORY_PATH};
fi
Expand Down

0 comments on commit 749c59b

Please sign in to comment.