Try workaround for proxy issue.
This commit is contained in:
parent
fec6393913
commit
94ec8c2436
@ -10,12 +10,12 @@ ARG GIT_VDBTO_TOKEN
|
|||||||
WORKDIR /plugeth-statediff/
|
WORKDIR /plugeth-statediff/
|
||||||
COPY go.mod go.sum .
|
COPY go.mod go.sum .
|
||||||
RUN [ -n "$GIT_VDBTO_TOKEN" ] && \
|
RUN [ -n "$GIT_VDBTO_TOKEN" ] && \
|
||||||
git config --global url."https://$GIT_VDBTO_TOKEN@git.vdb.to/".insteadOf "https://git.vdb.to/" ; \
|
GOPROXY=off 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
|
rm -f ~/.gitconfig
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN GOPROXY=off go build --tags linkgeth --buildmode=plugin --trimpath -o statediff.so ./main
|
RUN go build --tags linkgeth --buildmode=plugin --trimpath -o statediff.so ./main
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.18
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user