openethereum/scripts/docker-build.sh
Denis S. Soldatov aka General-Beck 7ef4bbd5f7 fix docker build in beta
2017-07-18 16:16:27 +03:00

8 lines
293 B
Bash

#!/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