aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorAlexandre Van de Sande <alex.vandesande@ethdev.com>2015-02-17 19:29:10 +0800
committerAlexandre Van de Sande <alex.vandesande@ethdev.com>2015-02-17 19:29:10 +0800
commitabb9b7f46ff3b2ef0bb4f2e95f029591688768c4 (patch)
treec4088c788b3e86935a2b8fd2fbe157340476f091 /Dockerfile
parentfbd5e4d5afeaff6c250a3a953b18476cdb4b86ae (diff)
parentc934222a8089b19587242a3b0bc71ea0aec1d5ef (diff)
downloaddexon-abb9b7f46ff3b2ef0bb4f2e95f029591688768c4.tar
dexon-abb9b7f46ff3b2ef0bb4f2e95f029591688768c4.tar.gz
dexon-abb9b7f46ff3b2ef0bb4f2e95f029591688768c4.tar.bz2
dexon-abb9b7f46ff3b2ef0bb4f2e95f029591688768c4.tar.lz
dexon-abb9b7f46ff3b2ef0bb4f2e95f029591688768c4.tar.xz
dexon-abb9b7f46ff3b2ef0bb4f2e95f029591688768c4.tar.zst
dexon-abb9b7f46ff3b2ef0bb4f2e95f029591688768c4.zip
Merge branch 'develop' into ui
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
+
+