summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Goodman <wagoodman@users.noreply.github.com>2023-07-06 10:28:44 -0400
committerGitHub <noreply@github.com>2023-07-06 10:28:44 -0400
commit2a99dd25fe6490a3918221d5f084e71a6349ad5f (patch)
tree8fe5ff4023ed9e7b0b41f6f94ad545fbdf502536
parentf50a009f8ead7d2c87d119d70aea49d3f9a38822 (diff)
parent7dfef036c75c6f85d0a2fd56adb3f36decb90505 (diff)
Merge pull request #390 from michaelherold/support-podman-macos
Support podman in macOS
-rw-r--r--dive/image/podman/build.go2
-rw-r--r--dive/image/podman/cli.go2
-rw-r--r--dive/image/podman/resolver.go (renamed from dive/image/podman/resolver_linux.go)2
-rw-r--r--dive/image/podman/resolver_unsupported.go (renamed from dive/image/podman/resolver_notlinux.go)2
4 files changed, 5 insertions, 3 deletions
diff --git a/dive/image/podman/build.go b/dive/image/podman/build.go
index bfebc49..617f146 100644
--- a/dive/image/podman/build.go
+++ b/dive/image/podman/build.go
@@ -1,4 +1,4 @@
-// +build linux
+// +build linux darwin
package podman
diff --git a/dive/image/podman/cli.go b/dive/image/podman/cli.go
index 83523af..b909055 100644
--- a/dive/image/podman/cli.go
+++ b/dive/image/podman/cli.go
@@ -1,4 +1,4 @@
-// +build linux
+// +build linux darwin
package podman
diff --git a/dive/image/podman/resolver_linux.go b/dive/image/podman/resolver.go
index 592c038..a265d18 100644
--- a/dive/image/podman/resolver_linux.go
+++ b/dive/image/podman/resolver.go
@@ -1,3 +1,5 @@
+// +build linux darwin
+
package podman
import (
diff --git a/dive/image/podman/resolver_notlinux.go b/dive/image/podman/resolver_unsupported.go
index 8dfdd22..c49c522 100644
--- a/dive/image/podman/resolver_notlinux.go
+++ b/dive/image/podman/resolver_unsupported.go
@@ -1,4 +1,4 @@
-// +build !linux
+// +build !linux,!darwin
package podman