Skip to content

Commit

Permalink
index/readme: rm container after completion
Browse files Browse the repository at this point in the history
There is no point in keeping the container
around after its completion, so add --rm
to the command.
  • Loading branch information
pjonsson committed Sep 22, 2024
1 parent a4ff483 commit 75253e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pip-compile --upgrade --output-file constraints.txt --strip-extras requirements.
To minimise version changes, update using the existing image (run from index folder):

```
docker run -v $(pwd):/datacube-index/ -w /datacube-index -it opendatacube/datacube-index bash -c "python3 -m pip install pip-tools && pip-compile --upgrade --output-file constraints.txt --strip-extras requirements.txt"
docker run --rm -v $(pwd):/datacube-index/ -w /datacube-index -it opendatacube/datacube-index bash -c "python3 -m pip install pip-tools && pip-compile --upgrade --output-file constraints.txt --strip-extras requirements.txt"
```


Expand Down

0 comments on commit 75253e1

Please sign in to comment.