aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-02-17 00:00:57 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-02-17 00:00:57 +0800
commitc0ce323092bef4828a6bea385e4213ea3e9e1cd2 (patch)
tree299e5571e52d19ab33928b019667a5eb2ae0faee /Dockerfile
parent68f6ddc5aaa7ff29d09c1519ccd38d9cf16c0f75 (diff)
downloadgo-tangerine-c0ce323092bef4828a6bea385e4213ea3e9e1cd2.tar
go-tangerine-c0ce323092bef4828a6bea385e4213ea3e9e1cd2.tar.gz
go-tangerine-c0ce323092bef4828a6bea385e4213ea3e9e1cd2.tar.bz2
go-tangerine-c0ce323092bef4828a6bea385e4213ea3e9e1cd2.tar.lz
go-tangerine-c0ce323092bef4828a6bea385e4213ea3e9e1cd2.tar.xz
go-tangerine-c0ce323092bef4828a6bea385e4213ea3e9e1cd2.tar.zst
go-tangerine-c0ce323092bef4828a6bea385e4213ea3e9e1cd2.zip
Use explicit branch and godep
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 9 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index 907b96c21..1f6555d1a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,7 +12,7 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y git mercurial build-essential software-properties-common wget pkg-config libgmp3-dev libreadline6-dev libpcre3-dev libpcre++-dev
-## Install Qt5.4
+## Install Qt5.4 (not required for CLI)
# RUN add-apt-repository ppa:beineri/opt-qt54-trusty -y
# RUN apt-get update -y
# RUN apt-get install -y qt54quickcontrols qt54webengine mesa-common-dev libglu1-mesa-dev
@@ -26,11 +26,15 @@ 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 -u -v -d github.com/ethereum/go-ethereum/...
+RUN go get -v github.com/tools/godep
+RUN go get -v -d github.com/ethereum/go-ethereum/...
WORKDIR $GOPATH/src/github.com/ethereum/go-ethereum
-RUN ETH_DEPS=$(go list -f '{{.Imports}} {{.TestImports}} {{.XTestImports}}' github.com/ethereum/go-ethereum/... | sed -e 's/\[//g' | sed -e 's/\]//g' | sed -e 's/C //g'); if [ "$ETH_DEPS" ]; then go get $ETH_DEPS; fi
+RUN git checkout develop
+RUN godep restore
RUN go install -v ./cmd/ethereum
## Run & expose JSON RPC
-ENTRYPOINT ["ethereum", "-rpc=true", "-rpcport=8080"]
-EXPOSE 8080
+ENTRYPOINT ["ethereum", "-rpc=true", "-rpcport=8545"]
+EXPOSE 8545
+
+