From 744f88be8efedb8680fbeaca6de22a32b0e738f5 Mon Sep 17 00:00:00 2001 From: Rodica Sutu Date: Mon, 2 Jul 2018 13:17:23 +0300 Subject: [PATCH] add the gs api explorer to the ags repo images --- rm-community/rm-community-repo/Dockerfile | 7 +++++++ rm-community/rm-community-repo/pom.xml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/rm-community/rm-community-repo/Dockerfile b/rm-community/rm-community-repo/Dockerfile index 1ffc5a1ecb..a3b7b72169 100644 --- a/rm-community/rm-community-repo/Dockerfile +++ b/rm-community/rm-community-repo/Dockerfile @@ -4,3 +4,10 @@ COPY target/alfresco-rm-community-repo-*.amp /usr/local/tomcat/amps/ RUN java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt*.jar install \ /usr/local/tomcat/amps/alfresco-rm-community-repo-*.amp /usr/local/tomcat/webapps/alfresco -nobackup + +### Copy gs-api-explorer war into webapps folder +COPY target/gs-api-explorer-*.war /usr/local/tomcat/webapps/ + +### Unpack gs-api-explorer.war +RUN mkdir /usr/local/tomcat/webapps/gs-api-explorer && cd /usr/local/tomcat/webapps/gs-api-explorer && \ + jar -xvf /usr/local/tomcat/webapps/gs-api-explorer-*.war && rm -f /usr/local/tomcat/webapps/gs-api-explorer-*.war diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml index 7c7b7ddfb5..304dd1b9c1 100644 --- a/rm-community/rm-community-repo/pom.xml +++ b/rm-community/rm-community-repo/pom.xml @@ -221,6 +221,13 @@ ${alfresco.alfresco-share-services.version} amp + + org.alfresco + alfresco-rm-community-rest-api-explorer + ${project.version} + war + gs-api-explorer-${project.version}.war + ${project.build.directory}