Skip to content

Commit e985cbf

Browse files
stemannstaticfloat
authored andcommitted
Added fix for DockerRunner on macOS >= 13 wrt. xattrs
1 parent 594cf28 commit e985cbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/DockerRunner.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ function import_docker_image(rootfs::CompilerShard, workspace_root::String; verb
5454
end
5555
try
5656
run(pipeline(pipeline(
57-
`tar -c -C $(rootfs_path) .`,
57+
# Exclude xattrs, due to macOS >= 13 adding com.apple.provenance xattr which docker does not like
58+
`tar -c --no-xattrs -C $(rootfs_path) .`,
5859
`docker import - -c $(dockerfile_cmds) $(docker_image(rootfs))`;
5960
); stdout=devnull))
6061
finally

0 commit comments

Comments
 (0)