This is an automated email from the ASF dual-hosted git repository.

dmeikle pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika-docker.git


The following commit(s) were added to refs/heads/master by this push:
     new 5e73c49  Added no-cache to avoid stale APT archives
5e73c49 is described below

commit 5e73c49d24ca822cce4ba2edb275693bada2fdea
Author: Dave Meikle <[email protected]>
AuthorDate: Mon Nov 30 21:43:09 2020 +0000

    Added no-cache to avoid stale APT archives
---
 docker-tool.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker-tool.sh b/docker-tool.sh
index ab6c4fe..99a13a2 100755
--- a/docker-tool.sh
+++ b/docker-tool.sh
@@ -62,9 +62,9 @@ version=$1; shift
 case "$subcommand" in
   build)
     # Build slim version with minimal dependencies
-    docker build -t apache/tika:${version} --build-arg TIKA_VERSION=${version} 
- < minimal/Dockerfile
+    docker build -t apache/tika:${version} --build-arg TIKA_VERSION=${version} 
- < minimal/Dockerfile --no-cache
     # Build full version with OCR, Fonts and GDAL
-    docker build -t apache/tika:${version}-full --build-arg 
TIKA_VERSION=${version} - < full/Dockerfile
+    docker build -t apache/tika:${version}-full --build-arg 
TIKA_VERSION=${version} - < full/Dockerfile --no-cache
     ;;
 
   test)

Reply via email to