You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by dm...@apache.org on 2020/11/30 21:51:06 UTC

[tika-docker] 27/28: Added no-cache to avoid stale APT archives

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

commit 5e73c49d24ca822cce4ba2edb275693bada2fdea
Author: Dave Meikle <dm...@apache.org>
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)