good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
github
maticnetwork
bor
Commits
c0ce3230
Commit
c0ce3230
authored
10 years ago
by
Taylor Gerring
Browse files
Options
Downloads
Patches
Plain Diff
Use explicit branch and godep
parent
68f6ddc5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+9
-5
9 additions, 5 deletions
Dockerfile
with
9 additions
and
5 deletions
Dockerfile
+
9
−
5
View file @
c0ce3230
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment