aboutsummaryrefslogtreecommitdiff
path: root/contrib/podmanremoteimage/Containerfile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/podmanremoteimage/Containerfile')
-rw-r--r--contrib/podmanremoteimage/Containerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/podmanremoteimage/Containerfile b/contrib/podmanremoteimage/Containerfile
new file mode 100644
index 000000000..aa24b3956
--- /dev/null
+++ b/contrib/podmanremoteimage/Containerfile
@@ -0,0 +1,10 @@
+FROM registry.access.redhat.com/ubi8/go-toolset:latest AS builder
+WORKDIR /opt/app-root/src
+COPY . .
+RUN make podman-remote-static
+RUN GOOS=windows make podman-remote
+RUN GOOS=darwin make podman-remote
+
+FROM scratch
+COPY --from=builder /opt/app-root/src/bin .
+ENTRYPOINT ["/podman-remote-static"]