mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-05-19 17:14:47 +00:00
ATS-985 - Upgrade LibreOffice to 7.2.5 (#568)
* Upgrade LO to 7.2.5 * Update dockerfiles to use version 7.2.5 of Libreoffice uplodaded to nexus * Correct formatting of Dockerfiles
This commit is contained in:
parent
839dfb855b
commit
f2c10d3fda
@ -5,7 +5,7 @@ PS4="\[\e[35m\]+ \[\e[m\]"
|
|||||||
set -vex
|
set -vex
|
||||||
pushd "$(dirname "${BASH_SOURCE[0]}")/../"
|
pushd "$(dirname "${BASH_SOURCE[0]}")/../"
|
||||||
|
|
||||||
LIBREOFFICE_VERSION=7.0.6
|
LIBREOFFICE_VERSION=7.2.5
|
||||||
|
|
||||||
# Cache the LibreOffice distribution, as it is takes a long time to download and it can cause the
|
# Cache the LibreOffice distribution, as it is takes a long time to download and it can cause the
|
||||||
# build to fail (no output for more than 10 minutes)
|
# build to fail (no output for more than 10 minutes)
|
||||||
|
@ -16,7 +16,7 @@ ENV IMAGEMAGICK_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositor
|
|||||||
ENV IMAGEMAGICK_LIB_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/imagemagick/imagemagick-distribution/${IMAGEMAGICK_VERSION}/imagemagick-distribution-${IMAGEMAGICK_VERSION}-libs-centos7.rpm
|
ENV IMAGEMAGICK_LIB_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/imagemagick/imagemagick-distribution/${IMAGEMAGICK_VERSION}/imagemagick-distribution-${IMAGEMAGICK_VERSION}-libs-centos7.rpm
|
||||||
ENV IMAGEMAGICK_DEP_RPM_URL=https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
ENV IMAGEMAGICK_DEP_RPM_URL=https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||||
|
|
||||||
ARG LIBREOFFICE_VERSION=7.0.6
|
ARG LIBREOFFICE_VERSION=7.2.5
|
||||||
ENV LIBREOFFICE_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/libreoffice/libreoffice-dist/${LIBREOFFICE_VERSION}/libreoffice-dist-${LIBREOFFICE_VERSION}-linux.gz
|
ENV LIBREOFFICE_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/libreoffice/libreoffice-dist/${LIBREOFFICE_VERSION}/libreoffice-dist-${LIBREOFFICE_VERSION}-linux.gz
|
||||||
|
|
||||||
ENV ALFRESCO_PDF_RENDERER_LIB_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/releases/content/org/alfresco/alfresco-pdf-renderer/1.1/alfresco-pdf-renderer-1.1-linux.tgz
|
ENV ALFRESCO_PDF_RENDERER_LIB_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/releases/content/org/alfresco/alfresco-pdf-renderer/1.1/alfresco-pdf-renderer-1.1-linux.tgz
|
||||||
|
@ -6,7 +6,7 @@ transform:
|
|||||||
pdfrenderer:
|
pdfrenderer:
|
||||||
exe: ${PDFRENDERER_EXE:/usr/bin/alfresco-pdf-renderer}
|
exe: ${PDFRENDERER_EXE:/usr/bin/alfresco-pdf-renderer}
|
||||||
libreoffice:
|
libreoffice:
|
||||||
path: ${LIBREOFFICE_HOME:/opt/libreoffice7.0}
|
path: ${LIBREOFFICE_HOME:/opt/libreoffice7.2}
|
||||||
maxTasksPerProcess: ${LIBREOFFICE_MAX_TASKS_PER_PROCESS:200}
|
maxTasksPerProcess: ${LIBREOFFICE_MAX_TASKS_PER_PROCESS:200}
|
||||||
timeout: ${LIBREOFFICE_TIMEOUT:1200000}
|
timeout: ${LIBREOFFICE_TIMEOUT:1200000}
|
||||||
portNumbers: ${LIBREOFFICE_PORT_NUMBERS:8100}
|
portNumbers: ${LIBREOFFICE_PORT_NUMBERS:8100}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
FROM alfresco/alfresco-base-java:jre11-centos7-202203071429
|
FROM alfresco/alfresco-base-java:jre11-centos7-202203071429
|
||||||
|
|
||||||
ARG LIBREOFFICE_VERSION=7.0.6
|
ARG LIBREOFFICE_VERSION=7.2.5
|
||||||
|
|
||||||
ENV LIBREOFFICE_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/libreoffice/libreoffice-dist/${LIBREOFFICE_VERSION}/libreoffice-dist-${LIBREOFFICE_VERSION}-linux.gz
|
ENV LIBREOFFICE_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/libreoffice/libreoffice-dist/${LIBREOFFICE_VERSION}/libreoffice-dist-${LIBREOFFICE_VERSION}-linux.gz
|
||||||
ENV JAVA_OPTS=""
|
ENV JAVA_OPTS=""
|
||||||
|
@ -6,7 +6,7 @@ transform:
|
|||||||
config:
|
config:
|
||||||
location: classpath:libreoffice_engine_config.json
|
location: classpath:libreoffice_engine_config.json
|
||||||
libreoffice:
|
libreoffice:
|
||||||
path: ${LIBREOFFICE_HOME:/opt/libreoffice7.0}
|
path: ${LIBREOFFICE_HOME:/opt/libreoffice7.2}
|
||||||
maxTasksPerProcess: ${LIBREOFFICE_MAX_TASKS_PER_PROCESS:200}
|
maxTasksPerProcess: ${LIBREOFFICE_MAX_TASKS_PER_PROCESS:200}
|
||||||
timeout: ${LIBREOFFICE_TIMEOUT:1200000}
|
timeout: ${LIBREOFFICE_TIMEOUT:1200000}
|
||||||
portNumbers: ${LIBREOFFICE_PORT_NUMBERS:8100}
|
portNumbers: ${LIBREOFFICE_PORT_NUMBERS:8100}
|
||||||
|
@ -50,7 +50,7 @@ The following externalized T-engines properties are available:
|
|||||||
| ACTIVEMQ_PASSWORD | ActiveMQ Password. | admin |
|
| ACTIVEMQ_PASSWORD | ActiveMQ Password. | admin |
|
||||||
| FILE_STORE_URL | T-Engine Port. | http://localhost:8099/alfresco/api/-default-/private/sfs/versions/1/file |
|
| FILE_STORE_URL | T-Engine Port. | http://localhost:8099/alfresco/api/-default-/private/sfs/versions/1/file |
|
||||||
| TRANSFORM_ENGINE_REQUEST_QUEUE | T-Engine queue used for async requests. | org.alfresco.transform.engine.libreoffice.acs |
|
| TRANSFORM_ENGINE_REQUEST_QUEUE | T-Engine queue used for async requests. | org.alfresco.transform.engine.libreoffice.acs |
|
||||||
| LIBREOFFICE_HOME | Path to LibreOffice_Home. | /opt/libreoffice7.0 |
|
| LIBREOFFICE_HOME | Path to LibreOffice_Home. | /opt/libreoffice7.2 |
|
||||||
| LIBREOFFICE_MAX_TASKS_PER_PROCESS | Number of maximum tasks per process. | 200 |
|
| LIBREOFFICE_MAX_TASKS_PER_PROCESS | Number of maximum tasks per process. | 200 |
|
||||||
| LIBREOFFICE_TIMEOUT | Timeout value for LibreOffice `execution timeout`, `queue timeout` and `connection timeout`. | 1200000 |
|
| LIBREOFFICE_TIMEOUT | Timeout value for LibreOffice `execution timeout`, `queue timeout` and `connection timeout`. | 1200000 |
|
||||||
| LIBREOFFICE_PORT_NUMBERS | LibreOffice port. | 8100 |
|
| LIBREOFFICE_PORT_NUMBERS | LibreOffice port. | 8100 |
|
||||||
@ -86,7 +86,7 @@ The following externalized T-engines properties are available:
|
|||||||
| TRANSFORM_ENGINE_REQUEST_QUEUE | T-Engine queue used for async requests. | org.alfresco.transform.engine.aio.acs |
|
| TRANSFORM_ENGINE_REQUEST_QUEUE | T-Engine queue used for async requests. | org.alfresco.transform.engine.aio.acs |
|
||||||
| PDFRENDERER_EXE | Path to Pdf-renderer EXE. | /usr/bin/alfresco-pdf-renderer |
|
| PDFRENDERER_EXE | Path to Pdf-renderer EXE. | /usr/bin/alfresco-pdf-renderer |
|
||||||
| TRANSFORM_ENGINE_REQUEST_QUEUE | T-Engine queue used for async requests. | org.alfresco.transform.engine.libreoffice.acs |
|
| TRANSFORM_ENGINE_REQUEST_QUEUE | T-Engine queue used for async requests. | org.alfresco.transform.engine.libreoffice.acs |
|
||||||
| LIBREOFFICE_HOME | Path to LibreOffice_Home. | /opt/libreoffice7.0 |
|
| LIBREOFFICE_HOME | Path to LibreOffice_Home. | /opt/libreoffice7.2 |
|
||||||
| LIBREOFFICE_MAX_TASKS_PER_PROCESS | Number of maximum tasks per process. | 200 |
|
| LIBREOFFICE_MAX_TASKS_PER_PROCESS | Number of maximum tasks per process. | 200 |
|
||||||
| LIBREOFFICE_TIMEOUT | Timeout value for LibreOffice `execution timeout`, `queue timeout` and `connection timeout`. | 1200000 |
|
| LIBREOFFICE_TIMEOUT | Timeout value for LibreOffice `execution timeout`, `queue timeout` and `connection timeout`. | 1200000 |
|
||||||
| LIBREOFFICE_PORT_NUMBERS | LibreOffice port. | 8100 |
|
| LIBREOFFICE_PORT_NUMBERS | LibreOffice port. | 8100 |
|
||||||
|
2
pom.xml
2
pom.xml
@ -369,7 +369,7 @@
|
|||||||
<IMAGEMAGICK_EXE>/usr/bin/convert</IMAGEMAGICK_EXE>
|
<IMAGEMAGICK_EXE>/usr/bin/convert</IMAGEMAGICK_EXE>
|
||||||
<IMAGEMAGICK_DYN>/usr/lib64/ImageMagick-7.0.10/lib</IMAGEMAGICK_DYN>
|
<IMAGEMAGICK_DYN>/usr/lib64/ImageMagick-7.0.10/lib</IMAGEMAGICK_DYN>
|
||||||
<IMAGEMAGICK_ROOT>/usr/lib64/ImageMagick-7.0.10</IMAGEMAGICK_ROOT>
|
<IMAGEMAGICK_ROOT>/usr/lib64/ImageMagick-7.0.10</IMAGEMAGICK_ROOT>
|
||||||
<LIBREOFFICE_HOME>/opt/libreoffice7.0</LIBREOFFICE_HOME>
|
<LIBREOFFICE_HOME>/opt/libreoffice7.2</LIBREOFFICE_HOME>
|
||||||
<LIBREOFFICE_MAX_TASKS_PER_PROCESS>200</LIBREOFFICE_MAX_TASKS_PER_PROCESS>
|
<LIBREOFFICE_MAX_TASKS_PER_PROCESS>200</LIBREOFFICE_MAX_TASKS_PER_PROCESS>
|
||||||
<LIBREOFFICE_TIMEOUT>1200000</LIBREOFFICE_TIMEOUT>
|
<LIBREOFFICE_TIMEOUT>1200000</LIBREOFFICE_TIMEOUT>
|
||||||
<LIBREOFFICE_PORT_NUMBERS>8100</LIBREOFFICE_PORT_NUMBERS>
|
<LIBREOFFICE_PORT_NUMBERS>8100</LIBREOFFICE_PORT_NUMBERS>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user