aboutsummaryrefslogtreecommitdiff
path: root/test/testvol/Containerfile
blob: 32448f5a9bf3f70954cde033ede90adbe583ea18 (plain)
1
2
3
4
5
6
7
8
9
FROM docker.io/library/golang:1.18-alpine AS build-img
COPY ./ /go/src/github.com/containers/podman/
WORKDIR /go/src/github.com/containers/podman
RUN GO111MODULE=off go build -o /testvol ./test/testvol

FROM alpine
COPY --from=build-img /testvol /usr/local/bin
WORKDIR /
ENTRYPOINT ["/usr/local/bin/testvol", "serve"]