Merge pull request #117 from Pennyzct/rm

rootfs: add '-rm' to delete intermediate container
This commit is contained in:
James O. D. Hunt 2018-06-12 09:55:59 +01:00 committed by GitHub
commit 3375e736c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,7 @@ if [ -n "${USE_DOCKER}" ] ; then
# In case Clear Containers Runtime is installed we dont want to hit issue:
#https://github.com/clearcontainers/runtime/issues/828
docker run \
--rm \
--runtime runc \
--privileged \
--env IMG_SIZE="${IMG_SIZE}" \

View File

@ -212,6 +212,7 @@ if [ -n "${USE_DOCKER}" ] ; then
# In case Clear Containers Runtime is installed we dont want to hit issue:
#https://github.com/clearcontainers/runtime/issues/828
docker run \
--rm \
--runtime runc \
--env https_proxy="${https_proxy}" \
--env http_proxy="${http_proxy}" \