summaryrefslogtreecommitdiff
path: root/test/testvol/Containerfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/testvol/Containerfile')
-rw-r--r--test/testvol/Containerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testvol/Containerfile b/test/testvol/Containerfile
index 6ff45064b..de44798fe 100644
--- a/test/testvol/Containerfile
+++ b/test/testvol/Containerfile
@@ -1,8 +1,8 @@
-FROM golang:1.15-alpine AS build-img
+FROM docker.io/library/golang:1.18-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
+RUN GO111MODULE=off go build -o /testvol ./cmd/testvol
FROM alpine
COPY --from=build-img /testvol /usr/local/bin