-
Notifications
You must be signed in to change notification settings - Fork 127
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 #1306 from irisnet/release0.12
R4R: Release version 0.12.2-rc0
- Loading branch information
Showing
157 changed files
with
1,695 additions
and
632 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
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,40 @@ | ||
# Simple usage with a mounted data directory: | ||
# > docker build -t irishub . | ||
# > docker run -v $HOME/.iris:/root/.iris iris init | ||
# > docker run -v $HOME/.iris:/root/.iris iris start | ||
|
||
FROM golang:1.10-alpine3.7 as builder | ||
|
||
# Set up dependencies | ||
ENV PACKAGES make gcc git libc-dev bash | ||
|
||
# Set up GOPATH & PATH | ||
|
||
ENV GOPATH /root/go | ||
ENV BASE_PATH $GOPATH/src/github.com/irisnet | ||
ENV REPO_PATH $BASE_PATH/irishub | ||
ENV PATH $GOPATH/bin:$PATH | ||
|
||
# Add source files | ||
COPY . $REPO_PATH/ | ||
|
||
# Install minimum necessary dependencies, build Cosmos SDK, remove packages | ||
RUN cd $REPO_PATH && \ | ||
apk add --no-cache $PACKAGES && \ | ||
go get github.com/golang/dep/cmd/dep && \ | ||
make get_tools && \ | ||
make get_vendor_deps && \ | ||
make test_unit && \ | ||
make build_linux && \ | ||
source scripts/setTestEnv.sh && \ | ||
make install && \ | ||
make test_cli | ||
|
||
FROM alpine:3.7 | ||
|
||
# p2p port | ||
EXPOSE 26656 | ||
# rpc port | ||
EXPOSE 26657 | ||
|
||
COPY --from=builder /root/go/src/github.com/irisnet/irishub/build/ /usr/local/bin/ |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.