Fix build
The Docker Hub build system runs on Ubuntu Xenial containers. Xenial's git is 2.7.4, which does not know the `-P` flag yet.
This commit is contained in:
parent
20109c3392
commit
123fd981e9
2
build.sh
2
build.sh
@ -130,7 +130,7 @@ if [ "${2}" != "--push-only" ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
$DRY git remote set-url origin "${URL}"
|
$DRY git remote set-url origin "${URL}"
|
||||||
$DRY git fetch -qpP --depth 10 origin "${BRANCH}"
|
$DRY git fetch -qp --depth 10 origin "${BRANCH}"
|
||||||
$DRY git checkout -qf FETCH_HEAD
|
$DRY git checkout -qf FETCH_HEAD
|
||||||
$DRY git prune
|
$DRY git prune
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user