Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
c0ce3230
Commit
c0ce3230
authored
Feb 16, 2015
by
Taylor Gerring
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use explicit branch and godep
parent
68f6ddc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
Dockerfile
Dockerfile
+9
-5
No files found.
Dockerfile
View file @
c0ce3230
...
@@ -12,7 +12,7 @@ ENV DEBIAN_FRONTEND noninteractive
...
@@ -12,7 +12,7 @@ ENV DEBIAN_FRONTEND noninteractive
RUN
apt-get update
&&
apt-get upgrade
-y
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
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 add-apt-repository ppa:beineri/opt-qt54-trusty -y
# RUN apt-get update -y
# RUN apt-get update -y
# RUN apt-get install -y qt54quickcontrols qt54webengine mesa-common-dev libglu1-mesa-dev
# 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
...
@@ -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
ADD
https://api.github.com/repos/ethereum/go-ethereum/git/refs/heads/develop file_does_not_exist
## Fetch and install go-ethereum
## 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
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
go
install
-v
./cmd/ethereum
## Run & expose JSON RPC
## Run & expose JSON RPC
ENTRYPOINT
["ethereum", "-rpc=true", "-rpcport=8080"]
ENTRYPOINT
["ethereum", "-rpc=true", "-rpcport=8545"]
EXPOSE
8080
EXPOSE
8545
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment