szurubooru/server/hooks/test

8 lines
171 B
Bash
Executable file

#!/bin/sh
set -e
docker build -f ${DOCKERFILE_PATH:-Dockerfile}.test -t ${IMAGE_NAME}-test .
docker run --rm -t ${IMAGE_NAME}-test
docker rmi ${IMAGE_NAME}-test
exit $?