mirror of https://github.com/docker/compose.git
Merge pull request #717 from bfirsh/rm-containers-in-scripts
Remove containers in scripts
This commit is contained in:
commit
c0123c7477
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -ex
|
set -ex
|
||||||
pushd docs
|
pushd docs
|
||||||
fig run jekyll jekyll build
|
fig run --rm jekyll jekyll build
|
||||||
popd
|
popd
|
||||||
|
|
|
@ -3,6 +3,6 @@ set -ex
|
||||||
mkdir -p `pwd`/dist
|
mkdir -p `pwd`/dist
|
||||||
chmod 777 `pwd`/dist
|
chmod 777 `pwd`/dist
|
||||||
docker build -t fig .
|
docker build -t fig .
|
||||||
docker run -u user -v `pwd`/dist:/code/dist --entrypoint pyinstaller fig -F bin/fig
|
docker run -u user -v `pwd`/dist:/code/dist --rm --entrypoint pyinstaller fig -F bin/fig
|
||||||
mv dist/fig dist/fig-Linux-x86_64
|
mv dist/fig dist/fig-Linux-x86_64
|
||||||
docker run -u user -v `pwd`/dist:/code/dist --entrypoint dist/fig-Linux-x86_64 fig --version
|
docker run -u user -v `pwd`/dist:/code/dist --rm --entrypoint dist/fig-Linux-x86_64 fig --version
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -ex
|
set -ex
|
||||||
docker build -t fig .
|
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 --rm --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 nosetests fig $@
|
||||||
|
|
Loading…
Reference in New Issue