enabled JAR extension loading

This commit is contained in:
Brian Long 2020-12-25 14:32:20 -05:00
parent 4650110b96
commit a30f423c44
3 changed files with 10 additions and 2 deletions

View File

@ -7,6 +7,7 @@ USER root
COPY *.amp ${TOMCAT_DIR}/amps/
RUN java -jar ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt*.jar install ${TOMCAT_DIR}/amps ${TOMCAT_DIR}/webapps/alfresco -nobackup -directory
RUN java -jar ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt*.jar install ${TOMCAT_DIR}/amps ${TOMCAT_DIR}/webapps/alfresco -nobackup -directory && \
mkdir -p ${TOMCAT_DIR}/modules
USER ${USERNAME}

View File

@ -16,7 +16,7 @@ services:
- postgres-acs
- activemq
volumes:
- "./alfresco-content-repository/modules:/usr/local/tomcat/modules/platform:ro"
- "./alfresco-content-repository/modules:/usr/local/tomcat/modules:ro"
postgres-acs:
image: postgres:latest

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<Context>
<Resources>
<PreResources base="${catalina.base}/modules" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF/lib" readOnly="true" />
</Resources>
</Context>