You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/fpm/package/curlbash.rb
+19-14Lines changed: 19 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,21 @@ class FPM::Package::CurlBash < FPM::Package
10
10
#option "--volume", "VOLUME" , "Same syntax as `podman run --volume`. Mount a local directory into the container. Useful for `make install` types of projects that were built outside of fpm."
11
11
12
12
definput(entry)
13
+
ifprogram_exists?("podman")
14
+
runtime="podman"
15
+
elsifprogram_exists?("docker")
16
+
# Docker support isn't implemented yet. I don't expect it to be difficult, but
17
+
# we need to check if the build, inspect, and save commands use the same syntax
18
+
# At minimu, docker doesn't support the same flags as `podman image save`
19
+
#runtime = "docker"
20
+
logger.error("Docker executable found, but fpm doesn't support this yet. If you want this, file an issue? https://github.com/jordansissel/fpm/issues/new")
# Docker support isn't implemented yet. I don't expect it to be difficult, but
45
-
# we need to check if the build, inspect, and save commands use the same syntax
46
-
# At minimu, docker doesn't support the same flags as `podman image save`
47
-
#runtime = "docker"
48
-
logger.error("Docker executable found, but fpm doesn't support this yet. If you want this, file an issue? https://github.com/jordansissel/fpm/issues/new")
0 commit comments