From ec0caf8f69cc029f4c2109d68a68c4782dea8b2c Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Mon, 10 Jul 2023 14:48:39 -0500 Subject: [PATCH] Fix build. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index eb22d1056..e3b60b215 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,9 @@ ARG GIT_VDBTO_TOKEN # Get dependencies - will also be cached if we won't change go.mod/go.sum WORKDIR /go-ethereum/ COPY go.mod go.sum . +COPY wrapmain wrapmain RUN if [ -n "$GIT_VDBTO_TOKEN" ]; then git config --global url."https://$GIT_VDBTO_TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"; fi && \ + cd wrapmain && \ go mod download && \ rm -f ~/.gitconfig