ATS-195 : Increase Xmx max memory value for T-Engines

This commit is contained in:
Cezar.Leahu 2018-11-08 12:14:56 +02:00
parent 4c23904a77
commit 0c79beb877
4 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,7 @@ FROM alfresco/alfresco-base-java:11-openjdk-centos-7-95536c8b599f
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 PDFIUM_LICENSE_FILE=https://github.com/Alfresco/acs-community-packaging/blob/master/distribution/src/main/resources/licenses/3rd-party/pdfium.txt
ENV JAVA_OPTS=""
ENV JAVA_OPTS="-Xms256M -Xmx2048M"
COPY target/alfresco-docker-alfresco-pdf-renderer-${env.project_version}.jar /usr/bin

View File

@ -8,7 +8,7 @@ FROM alfresco/alfresco-base-java:11-openjdk-centos-7-95536c8b599f
ENV IMAGEMAGICK_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/imagemagick/imagemagick-distribution/7.0.7-27/imagemagick-distribution-7.0.7-27-linux.rpm
ENV IMAGEMAGICK_LIB_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/imagemagick/imagemagick-distribution/7.0.7-27/imagemagick-distribution-7.0.7-27-libs-linux.rpm
ENV IMAGEMAGICK_LICENSE_FILE=https://github.com/Alfresco/acs-community-packaging/blob/master/distribution/src/main/resources/licenses/3rd-party/ImageMagick-license.txt
ENV JAVA_OPTS=""
ENV JAVA_OPTS="-Xms256M -Xmx2048M"
COPY target/alfresco-docker-imagemagick-${env.project_version}.jar /usr/bin

View File

@ -7,7 +7,7 @@ FROM alfresco/alfresco-base-java:11-openjdk-centos-7-95536c8b599f
ENV LIBREOFFICE_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/libreoffice/libreoffice-dist/5.4.6/libreoffice-dist-5.4.6-linux.gz
ENV LIBREOFFICE_LICENSE_FILE=https://github.com/Alfresco/acs-community-packaging/blob/master/distribution/src/main/resources/licenses/3rd-party/libreoffice.txt
ENV JAVA_OPTS=""
ENV JAVA_OPTS="-Xms256M -Xmx2048M"
COPY target/alfresco-docker-libreoffice-${env.project_version}.jar /usr/bin

View File

@ -6,6 +6,7 @@
FROM alfresco/alfresco-base-java:11-openjdk-centos-7-95536c8b599f
ENV APACHE_LICENSE_FILE=https://github.com/Alfresco/acs-community-packaging/blob/master/distribution/src/main/resources/licenses/3rd-party/Apache%202.0.txt
ENV JAVA_OPTS="-Xms256M -Xmx2048M"
COPY target/alfresco-docker-tika-${env.project_version}.jar /usr/bin
@ -17,4 +18,4 @@ RUN ln /usr/bin/alfresco-docker-tika-${env.project_version}.jar /usr/bin/alfresc
EXPOSE 8090
ENTRYPOINT java -jar /usr/bin/alfresco-docker-tika.jar
ENTRYPOINT java $JAVA_OPTS -jar /usr/bin/alfresco-docker-tika.jar