-
Notifications
You must be signed in to change notification settings - Fork 13
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 #96 from usechain/develop
mainnet release
- Loading branch information
Showing
304 changed files
with
7,092 additions
and
18,799 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,11 @@ | ||
language: go | ||
|
||
before_script: | ||
- echo "begin!" | ||
- sudo mkdir /root/.usechain | ||
- sh $PWD/build/usechain.sh | ||
|
||
script: make test | ||
|
||
go: | ||
- "1.10" |
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,16 +1,20 @@ | ||
# Build Used in a stock Go builder container | ||
FROM golang:1.9-alpine as builder | ||
FROM golang:1.12-alpine as builder | ||
|
||
RUN apk add --no-cache make gcc musl-dev linux-headers | ||
RUN apk add --no-cache make gcc musl-dev linux-headers git | ||
|
||
ADD . /go-usechain | ||
RUN cd /go-usechain && make used | ||
RUN cd /go-usechain && make used | ||
RUN strip /go-usechain/build/bin/used | ||
|
||
# Pull Geth into a second stage deploy alpine container | ||
FROM alpine:latest | ||
|
||
RUN apk add --no-cache ca-certificates | ||
COPY --from=builder /go-usechain/build/bin/used /usr/local/bin/ | ||
RUN mkdir -p /root/.usechain | ||
COPY --from=builder /go-usechain/build/config/profile/mainnetCA.pem /root/.usechain | ||
COPY --from=builder /go-usechain/build/config/profile/moonetCA.pem/root/.usechain | ||
|
||
EXPOSE 8545 8546 30303 30303/udp 30304/udp | ||
EXPOSE 8848 8849 40404 40404/udp 40405/udp | ||
ENTRYPOINT ["used"] |
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,15 +1,18 @@ | ||
# Build Geth in a stock Go builder container | ||
FROM golang:1.9-alpine as builder | ||
FROM golang:1.12-alpine as builder | ||
|
||
RUN apk add --no-cache make gcc musl-dev linux-headers | ||
RUN apk add --no-cache make gcc musl-dev linux-headers git | ||
|
||
ADD . /go-ethereum | ||
RUN cd /go-ethereum && make all | ||
ADD . /go-usechain | ||
RUN cd /go-usechain && make all | ||
|
||
# Pull all binaries into a second stage deploy alpine container | ||
FROM alpine:latest | ||
|
||
RUN apk add --no-cache ca-certificates | ||
COPY --from=builder /go-ethereum/build/bin/* /usr/local/bin/ | ||
COPY --from=builder /go-usechain/build/bin/* /usr/local/bin/ | ||
RUN mkdir -p /root/.usechain | ||
COPY --from=builder /go-usechain/build/config/profile/mainnetCA.pem /root/.usechain | ||
COPY --from=builder /go-usechain/build/config/profile/moonetCA.pem/root/.usechain | ||
|
||
EXPOSE 8545 8546 30303 30303/udp 30304/udp | ||
EXPOSE 8848 8849 40404 40404/udp 40405/udp |
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
Oops, something went wrong.