mirror of
https://github.com/containers/podman.git
synced 2025-08-05 19:02:37 +08:00

This is more consistent with the name of the other released files, and makes identification of the binaries easier among the Windows/macOS ones. Related: https://github.com/containers/podman/issues/16612 Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
11 lines
321 B
Docker
11 lines
321 B
Docker
FROM registry.access.redhat.com/ubi8/go-toolset:latest AS builder
|
|
WORKDIR /opt/app-root/src
|
|
COPY . .
|
|
RUN make podman-remote-static-linux_amd64
|
|
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-linux_amd64"]
|