aboutsummaryrefslogtreecommitdiff
path: root/test/testvol/Containerfile
blob: 6ff45064be15a5b4d040ad47a839b689b7280f2e (plain)
1
2
3
4
5
6
7
8
9
10
FROM golang:1.15-alpine AS build-img
COPY ./test/testvol/ /go/src/github.com/containers/podman/cmd/testvol/
COPY ./vendor /go/src/github.com/containers/podman/vendor/
WORKDIR /go/src/github.com/containers/podman
RUN go build -o /testvol ./cmd/testvol

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