ligo/scripts/build_docker_image.sh

10 lines
264 B
Bash
Raw Normal View History

2019-05-28 22:54:37 +04:00
#!/bin/sh
set -e
if test $# -ne 1 || test "x$1" = "-h" -o "x$1" = "x--help"; then
echo "Usage: build_docker_image.sh TAG_NAME"
exit 1
fi
docker build -t "${LIGO_REGISTRY_IMAGE_BUILD:-ligolang/ligo}:$1" -f ./docker/distribution/debian/distribute.Dockerfile .