Remove containers in scripts
So we don't clutter up Docker with loads of stopped containers. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
parent
e794e79209
commit
c12d1d73f0
3 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -ex
|
||||
docker build -t fig .
|
||||
docker run -v /var/run/docker.sock:/var/run/docker.sock --entrypoint flake8 fig fig
|
||||
docker run -v /var/run/docker.sock:/var/run/docker.sock --entrypoint nosetests 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 $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue