enabled JAR extension loading
This commit is contained in:
parent
4650110b96
commit
a30f423c44
@ -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}
|
||||
|
@ -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
|
||||
|
7
tomcat-platform-context.xml
Normal file
7
tomcat-platform-context.xml
Normal 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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user