REPO-5641 - Allows localised file names

This commit is contained in:
Andrea Ligios
2021-09-07 17:32:27 +02:00
parent 8ae10a03b9
commit 2319b4d1b5
4 changed files with 16 additions and 4 deletions

View File

@@ -4,6 +4,9 @@ ARG TOMCAT_DIR=/usr/local/tomcat
USER root USER root
# Allows localised file names as per GitHub issue #618
RUN yum -y install glibc-locale-source glibc-langpack-en
# Copy Dockerfile to avoid an error if no JARs exist # Copy Dockerfile to avoid an error if no JARs exist
COPY Dockerfile extensions/*.jar $TOMCAT_DIR/webapps/alfresco/WEB-INF/lib/ COPY Dockerfile extensions/*.jar $TOMCAT_DIR/webapps/alfresco/WEB-INF/lib/
@@ -19,4 +22,4 @@ COPY disable-webscript-caching-context.xml $TOMCAT_DIR/shared/classes/alfresco/e
# Copy Dockerfile to avoid an error if no license file exists # Copy Dockerfile to avoid an error if no license file exists
COPY Dockerfile license/*.* $TOMCAT_DIR/webapps/alfresco/WEB-INF/classes/alfresco/extension/license/ COPY Dockerfile license/*.* $TOMCAT_DIR/webapps/alfresco/WEB-INF/classes/alfresco/extension/license/
USER ${USERNAME} USER ${USERNAME}

View File

@@ -2,6 +2,9 @@ FROM ${docker.share.image}:${alfresco.share.version}
ARG TOMCAT_DIR=/usr/local/tomcat ARG TOMCAT_DIR=/usr/local/tomcat
# Allows localised file names as per GitHub issue #618
RUN yum -y install glibc-locale-source glibc-langpack-en
# Copy Dockerfile to avoid an error if no JARs exist # Copy Dockerfile to avoid an error if no JARs exist
COPY Dockerfile extensions/*.jar $TOMCAT_DIR/webapps/share/WEB-INF/lib/ COPY Dockerfile extensions/*.jar $TOMCAT_DIR/webapps/share/WEB-INF/lib/
@@ -13,4 +16,4 @@ RUN java -jar $TOMCAT_DIR/alfresco-mmt/alfresco-mmt*.jar install \
COPY share-config-custom.xml $TOMCAT_DIR/shared/classes/alfresco/web-extension COPY share-config-custom.xml $TOMCAT_DIR/shared/classes/alfresco/web-extension
COPY log4j.properties $TOMCAT_DIR/webapps/share/WEB-INF/classes COPY log4j.properties $TOMCAT_DIR/webapps/share/WEB-INF/classes
COPY hotswap-agent.properties $TOMCAT_DIR/webapps/share/WEB-INF/classes COPY hotswap-agent.properties $TOMCAT_DIR/webapps/share/WEB-INF/classes

View File

@@ -4,6 +4,9 @@ ARG TOMCAT_DIR=/usr/local/tomcat
USER root USER root
# Allows localised file names as per GitHub issue #618
RUN yum -y install glibc-locale-source glibc-langpack-en
# Copy Dockerfile to avoid an error if no JARs exist # Copy Dockerfile to avoid an error if no JARs exist
COPY Dockerfile extensions/*.jar $TOMCAT_DIR/webapps/alfresco/WEB-INF/lib/ COPY Dockerfile extensions/*.jar $TOMCAT_DIR/webapps/alfresco/WEB-INF/lib/
@@ -19,4 +22,4 @@ COPY disable-webscript-caching-context.xml $TOMCAT_DIR/shared/classes/alfresco/e
# Copy Dockerfile to avoid an error if no license file exists # Copy Dockerfile to avoid an error if no license file exists
COPY Dockerfile license/*.* $TOMCAT_DIR/webapps/alfresco/WEB-INF/classes/alfresco/extension/license/ COPY Dockerfile license/*.* $TOMCAT_DIR/webapps/alfresco/WEB-INF/classes/alfresco/extension/license/
USER ${USERNAME} USER ${USERNAME}

View File

@@ -2,6 +2,9 @@ FROM ${docker.share.image}:${alfresco.share.version}
ARG TOMCAT_DIR=/usr/local/tomcat ARG TOMCAT_DIR=/usr/local/tomcat
# Allows localised file names as per GitHub issue #618
RUN yum -y install glibc-locale-source glibc-langpack-en
# Copy Dockerfile to avoid an error if no JARs exist # Copy Dockerfile to avoid an error if no JARs exist
COPY Dockerfile extensions/*.jar $TOMCAT_DIR/webapps/share/WEB-INF/lib/ COPY Dockerfile extensions/*.jar $TOMCAT_DIR/webapps/share/WEB-INF/lib/
@@ -13,4 +16,4 @@ RUN java -jar $TOMCAT_DIR/alfresco-mmt/alfresco-mmt*.jar install \
COPY share-config-custom.xml $TOMCAT_DIR/shared/classes/alfresco/web-extension COPY share-config-custom.xml $TOMCAT_DIR/shared/classes/alfresco/web-extension
COPY log4j.properties $TOMCAT_DIR/webapps/share/WEB-INF/classes COPY log4j.properties $TOMCAT_DIR/webapps/share/WEB-INF/classes
COPY hotswap-agent.properties $TOMCAT_DIR/webapps/share/WEB-INF/classes COPY hotswap-agent.properties $TOMCAT_DIR/webapps/share/WEB-INF/classes