Skip to content

Commit 7b13ebc

Browse files
committed
Add --no-cache for tag builds
1 parent 7da5650 commit 7b13ebc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,12 +230,12 @@ docker build -f Dockerfile-DEBUG .
230230

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

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

241241
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.

0 commit comments

Comments
 (0)