fix dockerfile
This commit is contained in:
parent
41de4a6aec
commit
52efd4b56b
@ -8,7 +8,7 @@ ARG GIT_VDBTO_TOKEN
|
||||
|
||||
# Get and cache deps
|
||||
WORKDIR /plugeth-statediff/
|
||||
COPY go.mod go.sum .
|
||||
COPY go.mod go.sum ./
|
||||
RUN if [ -n "$GIT_VDBTO_TOKEN" ]; then git config --global url."https://$GIT_VDBTO_TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"; fi && \
|
||||
go mod download && \
|
||||
rm -f ~/.gitconfig
|
||||
|
Loading…
Reference in New Issue
Block a user