aboutsummaryrefslogtreecommitdiff
path: root/staging.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'staging.Dockerfile')
-rw-r--r--staging.Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/staging.Dockerfile b/staging.Dockerfile
index e9fdd1e..95cdea5 100644
--- a/staging.Dockerfile
+++ b/staging.Dockerfile
@@ -26,8 +26,8 @@ WORKDIR /src
RUN go env -w GOCACHE=/go-cache
RUN go env -w GOMODCACHE=/gomod-cache
RUN --mount=type=cache,target=/gomod-cache \
- --mount=type=bind,source=./,target=/src \
- go mod download
+ --mount=type=bind,source=./,target=/src,rw \
+ /bin/bash -c 'go mod tidy; go get -t'
FROM cache AS build
ARG MAKEOPTS