-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # CHANGELOG.md # Gopkg.lock # Makefile # cmd/export/main.go # cmd/minter/cmd/node.go # config/config.go # core/minter/minter.go # core/state/statedb.go # upgrades/blocks.go # version/version.go
- Loading branch information
Showing
17 changed files
with
324 additions
and
100 deletions.
There are no files selected for viewing
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: docker | ||
|
||
on: push | ||
|
||
jobs: | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Build & Push to Docker Hub | ||
uses: opspresso/action-docker@master | ||
env: | ||
USERNAME: ${{ secrets.DOCKER_HUB_USER }} | ||
PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} | ||
IMAGE_NAME: "minterteam/minter" | ||
LATEST: "true" | ||
TAG_NAME: "v1.0.5" |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM tazhate/dockerfile-gox as builder | ||
|
||
COPY . /gopath/src/github.com/MinterTeam/minter-go-node | ||
WORKDIR /gopath/src/github.com/MinterTeam/minter-go-node | ||
RUN apt-get update && apt-get install libleveldb-dev -y --no-install-recommends -q | ||
RUN make get_tools | ||
RUN make get_vendor_deps | ||
RUN make build | ||
|
||
FROM ubuntu:bionic | ||
|
||
COPY --from=builder /gopath/src/github.com/MinterTeam/minter-go-node/build/minter/ /usr/bin/minter | ||
RUN apt update && apt install libleveldb1v5 -y --no-install-recommends -q | ||
RUN addgroup minteruser && useradd --no-log-init -r -m -d /minter -g minteruser minteruser | ||
RUN chown -R minteruser:minteruser /minter | ||
USER minteruser | ||
WORKDIR /minter | ||
RUN mkdir /minter/data | ||
EXPOSE 8841 | ||
ENTRYPOINT ["/usr/bin/minter"] | ||
CMD ["node", "--home-dir", "/minter"] |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Export Command | ||
|
||
Command to convert the genesis file from version 1.0 to 1.1 | ||
More details will be disclosed later. | ||
#####Example | ||
```bash | ||
./export --height=4350342 --chain_id="minter-mainnnet-2" --genesis_time=1580206824s | ||
``` |
Oops, something went wrong.