aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2024-05-12 18:05:18 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2024-05-12 18:05:18 +0300
commitbd5f41a76ba38ae5f51bbcfc89ec086984cc9e9a (patch)
tree45672695125ddc37de505939f9af1fec3b4518ba
parente94a646e19b3bca5be4e97b6d756d257034a5788 (diff)
Fix missing go.sum entry errors in staging.Dockerfileadhoc
-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