Use ';' for the rm.
Some checks failed
Test / Run unit tests (pull_request) Failing after 50s
Test / Run integration tests (pull_request) Failing after 2m47s

This commit is contained in:
Thomas E Lackey 2023-07-10 14:26:02 -05:00
parent 7cca02d66f
commit f4db8e722f

View File

@ -10,7 +10,7 @@ ARG GIT_VDBTO_TOKEN
WORKDIR /plugeth-statediff/
COPY go.mod go.sum .
RUN [ -n "$GIT_VDBTO_TOKEN" ] && git config --global url."https://$GIT_VDBTO_TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/" ; \
go mod download && \
go mod download ; \
rm -f ~/.gitconfig
COPY . .