So we don't clutter up Docker with loads of stopped containers. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
5 lines
220 B
Bash
Executable file
5 lines
220 B
Bash
Executable file
#!/bin/sh
|
|
set -ex
|
|
docker build -t fig .
|
|
docker run -v /var/run/docker.sock:/var/run/docker.sock --rm --entrypoint flake8 fig fig
|
|
docker run -v /var/run/docker.sock:/var/run/docker.sock --rm --entrypoint nosetests fig $@
|