2019-05-28 22:54:37 +04:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
2020-02-11 21:55:31 +04:00
|
|
|
set -x
|
2020-02-20 19:52:07 +04:00
|
|
|
|
|
|
|
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 .
|