mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 05:42:36 +00:00
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
795ab1b452
commit
cae28fe05e
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 a new issue