mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
One more time.
Basic idea is to clean out the root owned stuff from with the docker build container.
This commit is contained in:
@@ -151,7 +151,7 @@ function kube::build::clean_output() {
|
|||||||
# Clean out the output directory if it exists.
|
# Clean out the output directory if it exists.
|
||||||
if kube::build::build_image_built ; then
|
if kube::build::build_image_built ; then
|
||||||
echo "+++ Cleaning out _output/ via docker build image"
|
echo "+++ Cleaning out _output/ via docker build image"
|
||||||
kube::build::run_build_command bash -c "rm -rf '${REMOTE_OUTPUT_ROOT}'/*"
|
kube::build::run_build_command bash -c "rm -rf '${REMOTE_OUTPUT_DIR}'/*"
|
||||||
else
|
else
|
||||||
echo "!!! Build image not built. Cannot clean via docker build image."
|
echo "!!! Build image not built. Cannot clean via docker build image."
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user