Fix build.
This commit is contained in:
parent
d398bfc902
commit
ec0caf8f69
@ -14,7 +14,9 @@ ARG GIT_VDBTO_TOKEN
|
|||||||
# Get dependencies - will also be cached if we won't change go.mod/go.sum
|
# Get dependencies - will also be cached if we won't change go.mod/go.sum
|
||||||
WORKDIR /go-ethereum/
|
WORKDIR /go-ethereum/
|
||||||
COPY go.mod go.sum .
|
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 && \
|
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 && \
|
go mod download && \
|
||||||
rm -f ~/.gitconfig
|
rm -f ~/.gitconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user