use spacecruft repo

deepcrayon
jebba 2021-04-05 11:55:41 -06:00
parent 0ce520d1d5
commit 2f1c4bc3af
1 changed files with 5 additions and 4 deletions

View File

@ -45,12 +45,13 @@ RUN go get github.com/gobuffalo/packr/...
# pre-load depencencies
RUN \
cleanup() { rm -rf $GOPATH/src/github.com/trezor ; } && \
cleanup() { rm -rf $GOPATH/src/spacecruft.org/spacecruft ; } && \
trap cleanup EXIT && \
mkdir -p $GOPATH/src/github.com/trezor && \
cd $GOPATH/src/github.com/trezor && \
git clone https://github.com/trezor/blockbook.git && \
mkdir -p $GOPATH/src/spacecruft.org/spacecruft && \
cd $GOPATH/src/spacecruft.org/spacecruft && \
git clone https://spacecruft.org/spacecruft/blockbook && \
cd blockbook && \
git checkout deepcrayon && \
go mod download
ADD Makefile /build/Makefile