aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-17 21:49:37 +0800
committerFelix Lange <fjl@twurst.com>2015-03-17 21:49:37 +0800
commit1513413412b91582a17ceec5592994e625109bbd (patch)
tree1411023d61ec501b9d8eb7b38cfc55629b39f48c /Dockerfile
parent3ea99f989ff98432cbfa864d2e7e26628e16cc6f (diff)
downloadgo-tangerine-1513413412b91582a17ceec5592994e625109bbd.tar.gz
go-tangerine-1513413412b91582a17ceec5592994e625109bbd.tar.zst
go-tangerine-1513413412b91582a17ceec5592994e625109bbd.zip
Dockerfile: use fastâ„¢ build steps
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index b7e23aaab..966614e71 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,12 +26,11 @@ RUN tar -C /usr/local -xzf go*.tar.gz && go version
ADD https://api.github.com/repos/ethereum/go-ethereum/git/refs/heads/develop file_does_not_exist
## Fetch and install go-ethereum
-RUN go get github.com/tools/godep
-RUN go get -d github.com/ethereum/go-ethereum/...
+RUN mkdir -p $GOPATH/src/github.com/ethereum/
+RUN git clone https://github.com/ethereum/go-ethereum $GOPATH/src/github.com/ethereum/go-ethereum
WORKDIR $GOPATH/src/github.com/ethereum/go-ethereum
RUN git checkout develop
-RUN godep restore
-RUN go install -v ./cmd/ethereum
+RUN GOPATH=$GOPATH:$GOPATH/src/github.com/ethereum/go-ethereum/Godeps/_workspace go install -v ./cmd/ethereum
## Run & expose JSON RPC
ENTRYPOINT ["ethereum", "-rpc=true", "-rpcport=8545"]