mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-03 20:40:26 -05:00
disable selinux relabeling when mounting sourcedir to shellcheck
This commit is contained in:
parent
568f7300c9
commit
b86b4632b3
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ if ${HAVE_SHELLCHECK}; then
|
|||
else
|
||||
echo "Using shellcheck ${SHELLCHECK_VERSION} docker image."
|
||||
"${DOCKER}" run \
|
||||
--rm -v "${KUBE_ROOT}:${KUBE_ROOT}" -w "${KUBE_ROOT}" \
|
||||
--rm -v "${KUBE_ROOT}:${KUBE_ROOT}" -w "${KUBE_ROOT}" --security-opt label=disable \
|
||||
"${SHELLCHECK_IMAGE}" \
|
||||
"${SHELLCHECK_OPTIONS[@]}" "${scripts_to_check[@]}" >&2 || res=$?
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue