MiNode/docker-test.sh
Lee Miller 97576f6750
All checks were successful
Testing / default (push) Successful in 7m3s
Simplify local testing: test in a container using a docker-test.sh script
2024-07-23 02:31:43 +03:00

12 lines
212 B
Bash
Executable File

#!/bin/sh
DOCKERFILE=.buildbot/ubuntu/Dockerfile
docker build -t minode/tox -f $DOCKERFILE .
if [ $? -gt 0 ]; then
docker build --no-cache -t minode/tox -f $DOCKERFILE .
fi
docker run --rm -it minode/tox