Skip to content

Commit c934222

Browse files
committed
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
2 parents 8135752 + 643eda5 commit c934222

File tree

671 files changed

+435443
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

671 files changed

+435443
-17
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@
1717
*~
1818
.project
1919
.settings
20+
21+
cmd/ethereum/ethereum
22+
cmd/mist/mist

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ install:
1212
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
1313
- go get github.com/mattn/goveralls
1414
- go get gopkg.in/check.v1
15-
- DEPS=$(go list -f '{{.Imports}}' ./... | sed -e 's/\[//g' | sed -e 's/\]//g' | sed -e 's/C //g'); if [ "$DEPS" ]; then go get -d -v $DEPS; fi
15+
- go get github.com/tools/godep
1616
before_script:
17+
- godep restore
1718
- gofmt -l -w .
1819
- goimports -l -w .
1920
- golint .

Dockerfile

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,40 @@
1-
FROM ubuntu:14.04
1+
FROM ubuntu:14.04.1
22

33
## Environment setup
44
ENV HOME /root
55
ENV GOPATH /root/go
6-
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
7-
ENV PKG_CONFIG_PATH /opt/qt54/lib/pkgconfig
6+
ENV PATH /root/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
87

98
RUN mkdir -p /root/go
109
ENV DEBIAN_FRONTEND noninteractive
1110

1211
## Install base dependencies
1312
RUN apt-get update && apt-get upgrade -y
14-
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
13+
RUN apt-get install -y git mercurial build-essential software-properties-common wget pkg-config libgmp3-dev libreadline6-dev libpcre3-dev libpcre++-dev
1514

16-
## Install Qt5.4 dependencies from PPA
17-
RUN add-apt-repository ppa:beineri/opt-qt54-trusty -y
18-
RUN apt-get update -y
19-
RUN apt-get install -y qt54quickcontrols qt54webengine
15+
## Install Qt5.4 (not required for CLI)
16+
# RUN add-apt-repository ppa:beineri/opt-qt54-trusty -y
17+
# RUN apt-get update -y
18+
# RUN apt-get install -y qt54quickcontrols qt54webengine mesa-common-dev libglu1-mesa-dev
19+
# ENV PKG_CONFIG_PATH /opt/qt54/lib/pkgconfig
2020

21-
## Build and install latest Go
22-
RUN git clone https://go.googlesource.com/go golang
23-
RUN cd golang && git checkout go1.4.1
24-
RUN cd golang/src && ./make.bash && go version
21+
# Install Golang
22+
RUN wget https://storage.googleapis.com/golang/go1.4.1.linux-amd64.tar.gz
23+
RUN tar -C /usr/local -xzf go*.tar.gz && go version
2524

2625
# this is a workaround, to make sure that docker's cache is invalidated whenever the git repo changes
2726
ADD https://api.github.com/repos/ethereum/go-ethereum/git/refs/heads/develop file_does_not_exist
2827

2928
## Fetch and install go-ethereum
30-
RUN go get -u -v -d github.com/ethereum/go-ethereum/...
29+
RUN go get -v github.com/tools/godep
30+
RUN go get -v -d github.com/ethereum/go-ethereum/...
3131
WORKDIR $GOPATH/src/github.com/ethereum/go-ethereum
32-
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
32+
RUN git checkout develop
33+
RUN godep restore
3334
RUN go install -v ./cmd/ethereum
3435

3536
## Run & expose JSON RPC
36-
ENTRYPOINT ["ethereum", "-rpc=true", "-rpcport=8080"]
37-
EXPOSE 8080
37+
ENTRYPOINT ["ethereum", "-rpc=true", "-rpcport=8545"]
38+
EXPOSE 8545
39+
40+

Godeps/Godeps.json

Lines changed: 130 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/Readme

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/_workspace/.gitignore

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/_workspace/src/bitbucket.org/kardianos/osext/LICENSE

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/_workspace/src/bitbucket.org/kardianos/osext/osext.go

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/_workspace/src/bitbucket.org/kardianos/osext/osext_plan9.go

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/_workspace/src/bitbucket.org/kardianos/osext/osext_procfs.go

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)