mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-08-14 17:59:13 +00:00
REPO-5641 - Allows localised file names
This commit is contained in:
@@ -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}
|
||||||
|
@@ -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
|
||||||
|
@@ -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}
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user