forked from cerc-io/laconicd-deprecated
Merge branch 'master' into jack/README
This commit is contained in:
commit
b823d277c8
4
.github/CODEOWNERS
vendored
Normal file
4
.github/CODEOWNERS
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# CODEOWNERS: https://help.github.com/articles/about-codeowners/
|
||||||
|
|
||||||
|
# Primary repo maintainers
|
||||||
|
* @alexanderbez @AlexeyAkhunov @jackzampolin
|
18
.github/ISSUE_TEMPLATE/bug-report.md
vendored
Normal file
18
.github/ISSUE_TEMPLATE/bug-report.md
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
name: Bug Report
|
||||||
|
about: create a bug report
|
||||||
|
---
|
||||||
|
|
||||||
|
__System info:__ [Include Ethermint commit, operating system name, and other relevant details]
|
||||||
|
|
||||||
|
__Steps to reproduce:__
|
||||||
|
|
||||||
|
1. [First Step]
|
||||||
|
2. [Second Step]
|
||||||
|
3. [and so on...]
|
||||||
|
|
||||||
|
__Expected behavior:__ [What you expected to happen]
|
||||||
|
|
||||||
|
__Actual behavior:__ [What actually happened]
|
||||||
|
|
||||||
|
__Additional info:__ [Include gist of relevant config, logs, etc.]
|
15
.github/ISSUE_TEMPLATE/feature-request.md
vendored
Normal file
15
.github/ISSUE_TEMPLATE/feature-request.md
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
name: Feature request
|
||||||
|
about: Opening a feature request kicks off a discussion
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
__Proposal:__ [Description of the feature]
|
||||||
|
|
||||||
|
__Current behavior:__ [What currently happens]
|
||||||
|
|
||||||
|
__Desired behavior:__ [What you would like to happen]
|
||||||
|
|
||||||
|
__Use case:__ [Why is this important (helps with prioritizing requests)]
|
||||||
|
|
||||||
|
Requests may be closed if we're not actively planning to work on them.
|
29
Dockerfile
Normal file
29
Dockerfile
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
FROM golang:alpine AS build-env
|
||||||
|
|
||||||
|
# Set up dependencies
|
||||||
|
ENV PACKAGES make git curl build-base
|
||||||
|
|
||||||
|
# Set working directory for the build
|
||||||
|
WORKDIR /go/src/github.com/cosmos/ethermint
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
RUN apk add --update $PACKAGES
|
||||||
|
|
||||||
|
# Add source files
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Make the binary
|
||||||
|
RUN make update-tools get-vendor-deps build
|
||||||
|
|
||||||
|
# Final image
|
||||||
|
FROM alpine:edge
|
||||||
|
|
||||||
|
# Install ca-certificates
|
||||||
|
RUN apk add --update ca-certificates
|
||||||
|
WORKDIR /root
|
||||||
|
|
||||||
|
# Copy over binaries from the build-env
|
||||||
|
COPY --from=build-env /go/src/github.com/cosmos/ethermint/build/ethermint /usr/bin/ethermint
|
||||||
|
|
||||||
|
# Run ethermint by default
|
||||||
|
CMD ["ethermint"]
|
7
Makefile
7
Makefile
@ -1,6 +1,8 @@
|
|||||||
PACKAGES=$(shell go list ./... | grep -v '/vendor/')
|
PACKAGES=$(shell go list ./... | grep -v '/vendor/')
|
||||||
COMMIT_HASH := $(shell git rev-parse --short HEAD)
|
COMMIT_HASH := $(shell git rev-parse --short HEAD)
|
||||||
BUILD_FLAGS = -tags netgo -ldflags "-X github.com/cosmos/ethermint/version.GitCommit=${COMMIT_HASH}"
|
BUILD_FLAGS = -tags netgo -ldflags "-X github.com/cosmos/ethermint/version.GitCommit=${COMMIT_HASH}"
|
||||||
|
DOCKER_TAG = unstable
|
||||||
|
DOCKER_IMAGE = tendermint/ethermint
|
||||||
|
|
||||||
DEP = github.com/golang/dep/cmd/dep
|
DEP = github.com/golang/dep/cmd/dep
|
||||||
GOLINT = github.com/tendermint/lint/golint
|
GOLINT = github.com/tendermint/lint/golint
|
||||||
@ -108,4 +110,9 @@ godocs:
|
|||||||
@echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/cosmos/ethermint"
|
@echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/cosmos/ethermint"
|
||||||
godoc -http=:6060
|
godoc -http=:6060
|
||||||
|
|
||||||
|
docker:
|
||||||
|
docker build -t ${DOCKER_IMAGE}:${DOCKER_TAG} .
|
||||||
|
docker tag ${DOCKER_IMAGE}:${DOCKER_TAG} ${DOCKER_IMAGE}:latest
|
||||||
|
docker tag ${DOCKER_IMAGE}:${DOCKER_TAG} ${DOCKER_IMAGE}:${COMMIT_HASH}
|
||||||
|
|
||||||
.PHONY: build install update-tools get-tools get-vendor-deps godocs
|
.PHONY: build install update-tools get-tools get-vendor-deps godocs
|
||||||
|
Loading…
Reference in New Issue
Block a user