Skip to content

Commit

Permalink
Add --no-cache for tag builds
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Oct 16, 2024
1 parent 7da5650 commit 7b13ebc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ docker build -f Dockerfile-DEBUG .

To build a specific version of eXist-db Docker image, you can do something like:
```bash
docker build --build-arg BRANCH=develop-4.x.x --tag existdb/existdb:4.x.x-SNAPSHOT .
docker build --build-arg BRANCH=develop-4.x.x --tag existdb/existdb:4.x.x-SNAPSHOT --no-cache .
```

or to build a specific version of the debug eXist-db Docker image, you can do something like:
```bash
docker build --build-arg BRANCH=develop-4.x.x --tag existdb/existdb:4.x.x-SNAPSHOT-DEBUG -f Dockerfile-DEBUG .
docker build --build-arg BRANCH=develop-4.x.x --tag existdb/existdb:4.x.x-SNAPSHOT-DEBUG --no-cache -f Dockerfile-DEBUG .
```

This will build an eXist-db image with sensible defaults as specified in the `Dockerfile`. The image uses a multi-stage building approach, so you can customize the compilation of eXist-db, or the final image.
Expand Down

0 comments on commit 7b13ebc

Please sign in to comment.