fix erroring of docker-build (#598)
This commit is contained in:
parent
71090323c0
commit
26b3af7a26
4
Makefile
4
Makefile
@ -154,9 +154,9 @@ clean:
|
|||||||
docker-build:
|
docker-build:
|
||||||
docker build -t ${DOCKER_IMAGE}:${DOCKER_TAG} .
|
docker build -t ${DOCKER_IMAGE}:${DOCKER_TAG} .
|
||||||
docker tag ${DOCKER_IMAGE}:${DOCKER_TAG} ${DOCKER_IMAGE}:latest
|
docker tag ${DOCKER_IMAGE}:${DOCKER_TAG} ${DOCKER_IMAGE}:latest
|
||||||
docker tag ${DOCKER_IMAGE}:${DOCKER_TAG} ${DOCKER_IMAGE}:${COMMIT_HASH}
|
# docker tag ${DOCKER_IMAGE}:${DOCKER_TAG} ${DOCKER_IMAGE}:${COMMIT_HASH}
|
||||||
# update old container
|
# update old container
|
||||||
docker rm ethermint
|
docker rm ethermint || true
|
||||||
# create a new container from the latest image
|
# create a new container from the latest image
|
||||||
docker create --name ethermint -t -i cosmos/ethermint:latest ethermint
|
docker create --name ethermint -t -i cosmos/ethermint:latest ethermint
|
||||||
# move the binaries to the ./build directory
|
# move the binaries to the ./build directory
|
||||||
|
Loading…
Reference in New Issue
Block a user