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 2021/10/20 05:24:42 UTC
[tika-docker] branch master updated: Removed duplicate TIKA_VERSION
and upgraded to Java 17 LTS
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 2a67b92 Removed duplicate TIKA_VERSION and upgraded to Java 17 LTS
2a67b92 is described below
commit 2a67b92ce7845222c5c5740c8408f37268f3fda3
Author: David Meikle <dm...@apache.org>
AuthorDate: Wed Oct 20 06:24:32 2021 +0100
Removed duplicate TIKA_VERSION and upgraded to Java 17 LTS
---
full/Dockerfile | 3 +--
minimal/Dockerfile | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/full/Dockerfile b/full/Dockerfile
index 841457d..c288ea2 100644
--- a/full/Dockerfile
+++ b/full/Dockerfile
@@ -13,7 +13,7 @@ FROM ubuntu:focal as base
RUN apt-get update
FROM base as dependencies
-ARG JRE='openjdk-16-jre-headless'
+ARG JRE='openjdk-17-jre-headless'
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install $JRE gdal-bin tesseract-ocr \
tesseract-ocr-eng tesseract-ocr-ita tesseract-ocr-fra tesseract-ocr-spa tesseract-ocr-deu
@@ -50,7 +50,6 @@ RUN if [ "$CHECK_SIG" = "true" ] ; then gpg --verify /${TIKA_JAR_NAME}-${TIKA_VE
FROM dependencies as runtime
RUN apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ARG TIKA_VERSION
-ARG TIKA_VERSION
ENV TIKA_VERSION=$TIKA_VERSION
ARG TIKA_JAR_NAME
ENV TIKA_JAR_NAME=$TIKA_JAR_NAME
diff --git a/minimal/Dockerfile b/minimal/Dockerfile
index 7d64d97..cb0fc83 100644
--- a/minimal/Dockerfile
+++ b/minimal/Dockerfile
@@ -13,7 +13,7 @@ FROM ubuntu:focal as base
RUN apt-get update
FROM base as dependencies
-ARG JRE='openjdk-16-jre-headless'
+ARG JRE='openjdk-17-jre-headless'
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install $JRE