summaryrefslogtreecommitdiff
path: root/contrib/podmanremoteimage/Containerfile
blob: aa24b3956604c54d006b42d591cd62dd5b79530c (plain)
1
2
3
4
5
6
7
8
9
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"]