Merge pull request #46094 from slonopotamus/darwin-build-fix

pkg/chrootarchive: fix Darwin build
This commit is contained in:
Bjorn Neergaard
2023-10-12 15:15:18 -07:00
committed by GitHub
2 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
//go:build unix && !linux
package chrootarchive // import "github.com/docker/docker/pkg/chrootarchive"
import (
@@ -15,9 +17,9 @@ import (
)
const (
packCmd = "freebsd-pack-in-chroot"
unpackCmd = "freebsd-unpack-in-chroot"
unpackLayerCmd = "freebsd-unpack-layer-in-chroot"
packCmd = "chrootarchive-pack-in-chroot"
unpackCmd = "chrootarchive-unpack-in-chroot"
unpackLayerCmd = "chrootarchive-unpack-layer-in-chroot"
)
func init() {

View File

@@ -1,3 +1,5 @@
//go:build unix && !linux
package chrootarchive // import "github.com/docker/docker/pkg/chrootarchive"
import (