diff --git a/pom.xml b/pom.xml
index b98b2ad3af..7bc176b4d0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -531,7 +531,7 @@
alfresco
org.alfresco
share
- 7.8
+ 7.9
6.1.0
0.0
@@ -559,7 +559,7 @@
8080
2.9.9
- 2.9.9.3
+ 2.9.10
0.31.0
1.10.19
42.2.6
diff --git a/rm-community/pom.xml b/rm-community/pom.xml
index 305784b1cf..029a3b9d72 100644
--- a/rm-community/pom.xml
+++ b/rm-community/pom.xml
@@ -75,8 +75,8 @@
5.1.8.RELEASE
- 6.1.2-ga
- 6.1.0
+ 6.2.0-ea
+ 6.2.0-RC4
true
diff --git a/rm-community/rm-community-repo/Dockerfile b/rm-community/rm-community-repo/Dockerfile
index 37cb97c1bc..6f5ffe3d85 100644
--- a/rm-community/rm-community-repo/Dockerfile
+++ b/rm-community/rm-community-repo/Dockerfile
@@ -1,4 +1,13 @@
-FROM alfresco/alfresco-content-repository-community:6.1.2-ga
+FROM alfresco/alfresco-content-repository-community:6.2.0-ea
+
+# Default user and group are used to setup permissions for Tomcat process, see parent Dockerfile: Alfresco/acs-community-packaging/docker-alfresco/Dockerfile
+ARG GROUPNAME=Alfresco
+ARG USERNAME=alfresco
+ARG TOMCAT_DIR=/usr/local/tomcat
+
+# Alfresco user does not have permissions to modify webapps or configuration. Switch to root.
+# The access will be fixed after all operations are done.
+USER root
COPY target/alfresco-governance-services-community-repo-*.amp /usr/local/tomcat/amps/
@@ -10,4 +19,14 @@ 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
\ No newline at end of file
+ jar -xvf /usr/local/tomcat/webapps/gs-api-explorer-*.war && rm -f /usr/local/tomcat/webapps/gs-api-explorer-*.war
+
+# All files in the tomcat folder must be owned by root user and Alfresco group as mentioned in the parent Dockerfile
+RUN chgrp -R ${GROUPNAME} ${TOMCAT_DIR}/webapps && \
+ find ${TOMCAT_DIR}/webapps -type d -exec chmod 0750 {} \; && \
+ find ${TOMCAT_DIR}/webapps -type f -exec chmod 0640 {} \; && \
+ chmod -R g+r ${TOMCAT_DIR}/webapps && \
+ chgrp -R ${GROUPNAME} ${TOMCAT_DIR}
+
+# Switching back to alfresco user after having added amps files to run the container as non-root
+USER alfresco
\ No newline at end of file
diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml
index 5968476b59..a3df80f420 100644
--- a/rm-community/rm-community-repo/pom.xml
+++ b/rm-community/rm-community-repo/pom.xml
@@ -24,11 +24,11 @@
alfresco-platform
9.1-901.jdbc4
alfresco-governance-services-community-repo
-
- 7.5.1
- 7.33.12
- 7.34.1
- 6.1.0
+
+ 7.22
+ 7.131
+ 7.101
+ 6.2.0-RC4
alfresco/alfresco-governance-repository-community
false