Skip to content

Commit

Permalink
Added fix for DockerRunner on macOS >= 13 wrt. xattrs
Browse files Browse the repository at this point in the history
  • Loading branch information
stemann committed May 7, 2024
1 parent 594cf28 commit 6a70013
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DockerRunner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ function import_docker_image(rootfs::CompilerShard, workspace_root::String; verb
end
try
run(pipeline(pipeline(
`tar -c -C $(rootfs_path) .`,
# Exclude xattrs, due to macOS >= 13 adding com.apple.provenance xattr which docker does not like
`tar -c --no-xattrs -C $(rootfs_path) .`,
`docker import - -c $(dockerfile_cmds) $(docker_image(rootfs))`;
); stdout=devnull))
finally
Expand Down

0 comments on commit 6a70013

Please sign in to comment.