forked from Musicoin/go-musicoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Musicoin#1 from ethereum/master
merge upstream
- Loading branch information
Showing
2,127 changed files
with
173,794 additions
and
2,546,825 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
**/.git | ||
**/*_test.go | ||
|
||
build/_workspace | ||
build/_bin | ||
tests/testdata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,6 @@ build/_vendor/pkg | |
# travis | ||
profile.tmp | ||
profile.cov | ||
|
||
# IdeaIDE | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "tests"] | ||
path = tests/testdata | ||
url = https://github.com/ethereum/tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
FROM alpine:3.3 | ||
# Build Geth in a stock Go builder container | ||
FROM golang:1.9-alpine as builder | ||
|
||
RUN apk add --no-cache make gcc musl-dev linux-headers | ||
|
||
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 && \ | ||
rm -rf /go-ethereum && rm -rf /var/cache/apk/* | ||
RUN cd /go-ethereum && make geth | ||
|
||
# Pull Geth into a second stage deploy alpine container | ||
FROM alpine:latest | ||
|
||
EXPOSE 8545 | ||
EXPOSE 30303 | ||
RUN apk add --no-cache ca-certificates | ||
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/ | ||
|
||
ENTRYPOINT ["/geth"] | ||
EXPOSE 8545 8546 30303 30303/udp | ||
ENTRYPOINT ["geth"] |
Oops, something went wrong.