Skip to content

Commit 4100626

Browse files
danielkucerakanflo
authored andcommitted
don't keep exited docker containers (#163)
1 parent aa6e6a8 commit 4100626

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
script:
1313
- mkdir output
1414
- chmod 777 output
15-
- docker run -t -u opendps -v $(readlink -f .):/parent:ro -v $(readlink -f .)/output:/output opendps /parent/docker/build.sh
15+
- docker run --rm -t -u opendps -v $(readlink -f .):/parent:ro -v $(readlink -f .)/output:/output opendps /parent/docker/build.sh
1616

1717
deploy:
1818
provider: releases

build_binaries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ docker build -t opendps_$PROJECT docker
1414
mkdir -p output
1515
chmod 777 output
1616

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

0 commit comments

Comments
 (0)