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
09aef5c0
Unverified
Commit
09aef5c0
authored
Feb 13, 2017
by
Péter Szilágyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dockerfile: support building USB on Alpine, ignore temp files
parent
0850f68f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
9 deletions
+12
-9
.dockerignore
.dockerignore
+3
-0
Dockerfile
Dockerfile
+5
-5
Dockerfile
containers/docker/develop-alpine/Dockerfile
+2
-2
Dockerfile
containers/docker/master-alpine/Dockerfile
+2
-2
No files found.
.dockerignore
0 → 100644
View file @
09aef5c0
.git
build/_workspace
build/_bin
Dockerfile
View file @
09aef5c0
FROM
alpine:3.
3
FROM
alpine:3.
5
ADD
. /go-ethereum
RUN
\
apk add
--update
git go make gcc musl-dev
&&
\
(
cd
go-ethereum
&&
make geth
)
&&
\
cp
go-ethereum/build/bin/geth /geth
&&
\
apk del git go make gcc musl-dev
&&
\
apk add
--update
git go make gcc musl-dev
linux-headers
&&
\
(
cd
go-ethereum
&&
make geth
)
&&
\
cp
go-ethereum/build/bin/geth /geth
&&
\
apk del git go make gcc musl-dev
linux-headers
&&
\
rm
-rf
/go-ethereum
&&
rm
-rf
/var/cache/apk/
*
EXPOSE
8545
...
...
containers/docker/develop-alpine/Dockerfile
View file @
09aef5c0
FROM
alpine:3.5
RUN
\
apk add
--update
go git make gcc musl-dev ca-certificates
&&
\
apk add
--update
go git make gcc musl-dev
linux-headers
ca-certificates
&&
\
git clone
--depth
1 https://github.com/ethereum/go-ethereum
&&
\
(
cd
go-ethereum
&&
make geth
)
&&
\
cp
go-ethereum/build/bin/geth /geth
&&
\
apk del go git make gcc musl-dev
&&
\
apk del go git make gcc musl-dev
linux-headers
&&
\
rm
-rf
/go-ethereum
&&
rm
-rf
/var/cache/apk/
*
EXPOSE
8545
...
...
containers/docker/master-alpine/Dockerfile
View file @
09aef5c0
FROM
alpine:3.5
RUN
\
apk add
--update
go git make gcc musl-dev ca-certificates
&&
\
apk add
--update
go git make gcc musl-dev
linux-headers
ca-certificates
&&
\
git clone
--depth
1
--branch
release/1.5 https://github.com/ethereum/go-ethereum
&&
\
(
cd
go-ethereum
&&
make geth
)
&&
\
cp
go-ethereum/build/bin/geth /geth
&&
\
apk del go git make gcc musl-dev
&&
\
apk del go git make gcc musl-dev
linux-headers
&&
\
rm
-rf
/go-ethereum
&&
rm
-rf
/var/cache/apk/
*
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