build: ensure _build dir is owned by root when build in docker
so the dependency clones will not complain safe.directory etc.
This commit is contained in:
parent
29622558c5
commit
e9905d7063
|
@ -77,4 +77,4 @@ docker run -i --rm \
|
|||
--workdir /emqx \
|
||||
--platform="linux/$ARCH" \
|
||||
"$BUILDER" \
|
||||
bash -euc "git config --global --add safe.directory /emqx && make ${PROFILE}-${PKGTYPE} && .ci/build_packages/tests.sh $PROFILE $PKGTYPE"
|
||||
bash -euc "git config --global --add safe.directory /emqx && chown -R root:root ./_build && make ${PROFILE}-${PKGTYPE} && .ci/build_packages/tests.sh $PROFILE $PKGTYPE"
|
||||
|
|
Loading…
Reference in New Issue