diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2024-05-12 18:05:18 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2024-05-12 18:05:18 +0300 |
commit | bd5f41a76ba38ae5f51bbcfc89ec086984cc9e9a (patch) | |
tree | 45672695125ddc37de505939f9af1fec3b4518ba /staging.Dockerfile | |
parent | e94a646e19b3bca5be4e97b6d756d257034a5788 (diff) |
Fix missing go.sum entry errors in staging.Dockerfileadhoc
Diffstat (limited to 'staging.Dockerfile')
-rw-r--r-- | staging.Dockerfile | 4 |
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 |