Skip to content

Commit

Permalink
upload docker image to the hub;
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Lashin committed Jun 8, 2018
1 parent bdca82b commit 4ae865a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 27 deletions.
2 changes: 1 addition & 1 deletion DOCKER/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ read -p "==> Build 3 docker images with the following tags (latest, $TAG, $TAG_N
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
docker build -t "minter/minter" -t "minter/minter:$TAG" -t "minter/minter:$TAG_NO_PATCH" .
docker build -t "minterteam/minter" -t "minterteam/minter:$TAG" -t "minterteam/minter:$TAG_NO_PATCH" .
fi
6 changes: 3 additions & 3 deletions DOCKER/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ read -p "==> Push 3 docker images with the following tags (latest, $TAG, $TAG_NO
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
docker push "minter/minter:latest"
docker push "minter/minter:$TAG"
docker push "minter/minter:$TAG_NO_PATCH"
docker push "minterteam/minter:latest"
docker push "minterteam/minter:$TAG"
docker push "minterteam/minter:$TAG_NO_PATCH"
fi
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ metalinter_all:

build-docker:
cp build/minter DOCKER/minter
docker build --label=minter --tag="minter/minter" DOCKER
docker build --label=minter --tag="minterteam/minter" DOCKER
rm -rf DOCKER/minter

###########################################################
Expand Down
24 changes: 3 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,12 @@ _NOTE: This is alpha software. Please contact us if you intend to run it in prod

## Run using Docker

---

You'll need [docker](https://docker.com/), [docker compose](https://docs.docker.com/compose/), **go** [installed](https://golang.org/doc/install) and the required [environment variables](https://github.com/tendermint/tendermint/wiki/Setting-GOPATH) set.

---
You'll need [docker](https://docker.com/) and [docker compose](https://docs.docker.com/compose/) installed.

Clone Minter to your machine

```
git clone https://github.com/MinterTeam/minter-go-node.git $GOPATH/src/minter
cd $GOPATH/src/minter
```

Install dependencies

```
make get_tools
make get_vendor_deps
```

Build docker image
```
make build-linux
make build-docker
git clone https://github.com/MinterTeam/minter-go-node.git
cd minter
```

Prepare configs
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:
minter:
image: minter/minter:latest
image: minterteam/minter:latest
command: --tendermint_addr=tcp://tendermint:46657
volumes:
- ~/.minter:/minter
Expand Down

0 comments on commit 4ae865a

Please sign in to comment.