spiegel_podman/test/testvol/Containerfile
Paul Holzinger e3b0409e5d
test/testvol: fix build
Building without go modules fails as we use different import paths now.
But also there is no reason to to use GO111MODULE=off anymore so just
remove it to make the build work.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-08-07 15:30:56 +02:00

9 lines
326 B
Docker

FROM docker.io/library/golang:1.26-alpine AS build-img
COPY ./ /go/src/github.com/podman-container-tools/podman/
WORKDIR /go/src/github.com/podman-container-tools/podman
RUN go build -o /testvol ./test/testvol
FROM alpine
COPY --from=build-img /testvol /usr/local/bin
WORKDIR /
ENTRYPOINT ["/usr/local/bin/testvol", "serve"]