mirror of https://github.com/containers/podman.git
10 lines
318 B
Docker
10 lines
318 B
Docker
FROM docker.io/library/golang:1.21-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"]
|