openethereum/scripts/docker-build.sh

8 lines
293 B
Bash
Raw Normal View History

2017-02-23 00:31:43 +01:00
#!/bin/bash
2017-02-26 22:14:23 +01:00
cd docker/hub
2017-07-18 15:12:16 +02:00
DOCKER_BUILD_TAG=$1
2017-07-17 11:06:32 +02:00
echo "Docker build tag: " $DOCKER_BUILD_TAG
2017-07-18 15:12:16 +02:00
docker build --build-arg BUILD_TAG=$DOCKER_BUILD_TAG --no-cache=true --tag parity/parity:$DOCKER_BUILD_TAG .
docker run -it parity/parity:$DOCKER_BUILD_TAG -v
2017-07-18 15:17:33 +02:00
docker push parity/parity:$DOCKER_BUILD_TAG