openethereum/scripts/docker-build.sh
Denis S. Soldatov aka General-Beck 801fcf3271 fix docker build in master
2017-07-18 16:17:33 +03:00

8 lines
293 B
Bash
Executable File

#!/bin/bash
cd docker/hub
DOCKER_BUILD_TAG=$1
echo "Docker build tag: " $DOCKER_BUILD_TAG
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
docker push parity/parity:$DOCKER_BUILD_TAG