Support podman in macOS
With [a fix][1] in [podman v3.4.3][2], these commands now work as
expected in macOS. Potentially, it might make sense to version check
podman to ensure that the minimum version is met, but I'm not sure
that's needed because it's unlikely that people have an older version
installed _and_ wish to use this tool.
I'm unsure whether the commands work on Windows so I left the
unsupported version there compiling with the negation of the supported
flags.
[1]: https://github.com/containers/podman/issues/12402
[2]: 4ba71f955a/RELEASE_NOTES.md (bugfixes-2)
This commit is contained in:
parent
c7d121b3d7
commit
7dfef036c7
dive/image/podman
@ -1,4 +1,4 @@
|
||||
// +build linux
|
||||
// +build linux darwin
|
||||
|
||||
package podman
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build linux
|
||||
// +build linux darwin
|
||||
|
||||
package podman
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// +build linux darwin
|
||||
|
||||
package podman
|
||||
|
||||
import (
|
@ -1,4 +1,4 @@
|
||||
// +build !linux
|
||||
// +build !linux,!darwin
|
||||
|
||||
package podman
|
||||
|
Loading…
x
Reference in New Issue
Block a user