Merge remote-tracking branch 'home/acs-ext-share.acs-share-base' into acs-ext-share.acs-share-base
This commit is contained in:
commit
486ff23ce4
@ -2,6 +2,9 @@ FROM alfresco/alfresco-share:latest
|
|||||||
|
|
||||||
ARG TOMCAT_DIR=/usr/local/tomcat
|
ARG TOMCAT_DIR=/usr/local/tomcat
|
||||||
|
|
||||||
COPY *.amp ${TOMCAT_DIR}/amps_share
|
COPY tomcat-share-context.xml ${TOMCAT_DIR}/conf/Catalina/localhost/share.xml
|
||||||
|
COPY *.amp ${TOMCAT_DIR}/amps_share/
|
||||||
|
|
||||||
|
RUN java -jar ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt*.jar install ${TOMCAT_DIR}/amps_share ${TOMCAT_DIR}/webapps/share -nobackup -directory && \
|
||||||
|
mkdir -p ${TOMCAT_DIR}/modules
|
||||||
|
|
||||||
RUN java -jar ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt*.jar install ${TOMCAT_DIR}/amps_share ${TOMCAT_DIR}/webapps/share -nobackup -directory
|
|
||||||
|
7
alfresco-share/docker/tomcat-share-context.xml
Normal file
7
alfresco-share/docker/tomcat-share-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>
|
||||||
|
|
@ -21,7 +21,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
REPO_HOST: "platform"
|
REPO_HOST: "platform"
|
||||||
volumes:
|
volumes:
|
||||||
- "./alfresco-share/modules:/usr/local/tomcat/modules/share:ro"
|
- "./alfresco-share/modules:/usr/local/tomcat/modules:ro"
|
||||||
|
|
||||||
postgres-acs:
|
postgres-acs:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user