diff options
| author | Jamal Carvalho <jamal@golang.org> | 2021-07-13 16:21:07 -0400 |
|---|---|---|
| committer | Jamal Carvalho <jamal@golang.org> | 2021-07-14 14:26:47 +0000 |
| commit | 1e849d62fb50ef1e9a5c49aa40a5eec368fc78cd (patch) | |
| tree | 9e9a5c5bfc77a780ccaf1a9904b1123ec635d534 /devtools/nodejs.sh | |
| parent | bc5c10fe084c7be7cb62237d755f249a0df2e595 (diff) | |
| download | go-x-pkgsite-1e849d62fb50ef1e9a5c49aa40a5eec368fc78cd.tar.xz | |
devtools: remove nodejs containers after use
To prevent bloat on host machines adding the remove
option to docker-compose run commands for the nodejs
service.
Change-Id: I4e1db7edaf127848dadeb34f3d1aa69512cb2501
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/334257
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Julie Qiu <julie@golang.org>
Diffstat (limited to 'devtools/nodejs.sh')
| -rwxr-xr-x | devtools/nodejs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/nodejs.sh b/devtools/nodejs.sh index 2e5f4443..369a50ba 100755 --- a/devtools/nodejs.sh +++ b/devtools/nodejs.sh @@ -10,4 +10,4 @@ set -e # It passes env variables for e2e tests, # mounts the pwd into a volume in the container at /pkgsite, # and sets the working directory in the container to /pkgsite. -docker-compose -f devtools/docker/compose.yaml run nodejs $@ +docker-compose -f devtools/docker/compose.yaml run --rm nodejs $@ |
