File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ function build_hook_linuxkit_container() {
24
24
# Lets hash the contents of the directory and use that as a tag
25
25
declare container_files_hash
26
26
# NOTE: linuxkit containers must be in the images/ directory
27
- container_files_hash=" $( find " ${container_base_dir} /${container_dir} " -type f -print | LC_ALL=C sort | xargs sha256sum | sha256sum | cut -d' ' -f1) "
27
+ container_files_hash=" $( find " ${container_base_dir} /${container_dir} " -type f -print0 | LC_ALL=C sort -z | xargs -0 sha256sum | sha256sum | cut -d' ' -f1) "
28
28
declare container_files_hash_short=" ${container_files_hash: 0: 8} "
29
29
30
30
declare container_oci_ref=" ${HOOK_LK_CONTAINERS_OCI_BASE}${container_dir} :${container_files_hash_short} -${DOCKER_ARCH} "
You can’t perform that action at this time.
0 commit comments