-
Notifications
You must be signed in to change notification settings - Fork 20.4k
Commit
* origin/develop: (1100 commits) Cleanup. Add ExtraData field to RPC output Docker rename ethereum to geth Remove old go cover location Added Coveralls badges Prefer hex prefixed with 0x Report InvalidTypeError as -32602 to JSON RPC Cleanup eth_getStorageAt output hex should begin with 0x Cleanup VM. Cleanup VM ethereum -> geth eth_getTransactionCount now returns a hex string PUSH gas fix Decouple core from rpc Removed comments Removed defer/panic. #503 BlockFilterArgs Update README.md Explicitly check memory's data store. #515 ...
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "ethereal/assets/samplecoin"] | ||
path = ethereal/assets/samplecoin | ||
url = git@github.com:obscuren/SampleCoin.git | ||
[submodule "cmd/mist/assets/ext/ethereum.js"] | ||
path = cmd/mist/assets/ext/ethereum.js | ||
url = https://github.com/ethereum/ethereum.js |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,39 @@ | ||
FROM ubuntu:14.04 | ||
FROM ubuntu:14.04.2 | ||
|
||
## Environment setup | ||
ENV HOME /root | ||
ENV GOPATH /root/go | ||
ENV PATH /golang/bin:/root/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games | ||
ENV PKG_CONFIG_PATH /opt/qt54/lib/pkgconfig | ||
ENV PATH /root/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games | ||
|
||
RUN mkdir -p /root/go | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
## Install base dependencies | ||
RUN apt-get update && apt-get upgrade -y | ||
RUN apt-get install -y git mercurial build-essential software-properties-common pkg-config libgmp3-dev libreadline6-dev libpcre3-dev libpcre++-dev mesa-common-dev libglu1-mesa-dev | ||
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 dependencies from PPA | ||
RUN add-apt-repository ppa:beineri/opt-qt54-trusty -y | ||
RUN apt-get update -y | ||
RUN apt-get install -y qt54quickcontrols qt54webengine | ||
## Install Qt5.4.1 (not required for CLI) | ||
# RUN add-apt-repository ppa:beineri/opt-qt541-trusty -y | ||
# RUN apt-get update -y | ||
# RUN apt-get install -y qt54quickcontrols qt54webengine mesa-common-dev libglu1-mesa-dev | ||
# ENV PKG_CONFIG_PATH /opt/qt54/lib/pkgconfig | ||
|
||
## Build and install latest Go | ||
RUN git clone https://go.googlesource.com/go golang | ||
RUN cd golang && git checkout go1.4.1 | ||
RUN cd golang/src && ./make.bash && go version | ||
# Install Golang | ||
RUN wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz | ||
RUN tar -C /usr/local -xzf go*.tar.gz && go version | ||
|
||
# this is a workaround, to make sure that docker's cache is invalidated whenever the git repo changes | ||
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 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 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 go install -v ./cmd/ethereum | ||
RUN git checkout develop | ||
RUN GOPATH=$GOPATH:$GOPATH/src/github.com/ethereum/go-ethereum/Godeps/_workspace go install -v ./cmd/geth | ||
|
||
## Run & expose JSON RPC | ||
ENTRYPOINT ["ethereum", "-rpc=true", "-rpcport=8080"] | ||
EXPOSE 8080 | ||
ENTRYPOINT ["geth", "-rpc=true", "-rpcport=8545"] | ||
EXPOSE 8545 | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.