Skip to content

Commit

Permalink
don't keep exited docker containers (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkucera authored and kanflo committed Sep 21, 2019
1 parent aa6e6a8 commit 4100626
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
script:
- mkdir output
- chmod 777 output
- docker run -t -u opendps -v $(readlink -f .):/parent:ro -v $(readlink -f .)/output:/output opendps /parent/docker/build.sh
- docker run --rm -t -u opendps -v $(readlink -f .):/parent:ro -v $(readlink -f .)/output:/output opendps /parent/docker/build.sh

deploy:
provider: releases
Expand Down
2 changes: 1 addition & 1 deletion build_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ docker build -t opendps_$PROJECT docker
mkdir -p output
chmod 777 output

docker run -t -u opendps -v $(readlink -f .):/parent:ro -v $(readlink -f .)/output:/output opendps_$PROJECT /parent/docker/build.sh "$@"
docker run --rm -t -u opendps -v $(readlink -f .):/parent:ro -v $(readlink -f .)/output:/output opendps_$PROJECT /parent/docker/build.sh "$@"

0 comments on commit 4100626

Please sign in to comment.