fix erroring of docker-build (#598)

This commit is contained in:
Daniel Choi
2020-11-16 10:13:51 +01:00
committed by GitHub
parent 71090323c0
commit 26b3af7a26
+2 -2
View File
@@ -154,9 +154,9 @@ clean:
docker-build:
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}
# docker tag ${DOCKER_IMAGE}:${DOCKER_TAG} ${DOCKER_IMAGE}:${COMMIT_HASH}
# update old container
docker rm ethermint
docker rm ethermint || true
# create a new container from the latest image
docker create --name ethermint -t -i cosmos/ethermint:latest ethermint
# move the binaries to the ./build directory