diff --git a/8/mysql-tomcat/Dockerfile b/8/mysql-tomcat/Dockerfile
index f01c33ccb8edfb04fdd0e4bc65a87e49f539ed6a..c7865c7cfe86ae1cc1d8effef083f4638a84b398 100644
--- a/8/mysql-tomcat/Dockerfile
+++ b/8/mysql-tomcat/Dockerfile
@@ -46,7 +46,7 @@ ENV XWIKI_VERSION=8.4.4
 ENV XWIKI_URL_PREFIX "http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-web/${XWIKI_VERSION}"
 # Note: To compute the sha256, download the binary and issue:
 # - Unix: sha256sum <binary name>
-# - Mac: shasum --algorithm 25 <binary name>
+# - Mac: shasum --algorithm 256 <binary name>
 ENV XWIKI_DOWNLOAD_SHA256 b414edb4527e3d8b27c40a8c3f2f09423980de7963207b7dc89da71d14e7fb23
 RUN rm -rf /usr/local/tomcat/webapps/* && \
   mkdir -p /usr/local/tomcat/temp && \
diff --git a/8/postgres-tomcat/Dockerfile b/8/postgres-tomcat/Dockerfile
index c4bcb88b4055a8ab3b56f8fd3844d5eaf2d6f495..3297dfaa88cdf9530e57296461bfd162470f076f 100644
--- a/8/postgres-tomcat/Dockerfile
+++ b/8/postgres-tomcat/Dockerfile
@@ -46,7 +46,7 @@ ENV XWIKI_VERSION=8.4.4
 ENV XWIKI_URL_PREFIX "http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-web/${XWIKI_VERSION}"
 # Note: To compute the sha256, download the binary and issue:
 # - Unix: sha256sum <binary name>
-# - Mac: shasum --algorithm 25 <binary name>
+# - Mac: shasum --algorithm 256 <binary name>
 ENV XWIKI_DOWNLOAD_SHA256 b414edb4527e3d8b27c40a8c3f2f09423980de7963207b7dc89da71d14e7fb23
 RUN rm -rf /usr/local/tomcat/webapps/* && \
   mkdir -p /usr/local/tomcat/temp && \
diff --git a/9/mysql-tomcat/.env b/9/mysql-tomcat/.env
index e47596a30d91a93a8050d5365883701a67dd125c..9fece4e8bdcdcccbb4df8ab3aa615f458c8d8cfe 100644
--- a/9/mysql-tomcat/.env
+++ b/9/mysql-tomcat/.env
@@ -1,5 +1,5 @@
 # Default environment values
-XWIKI_VERSION=9.0
+XWIKI_VERSION=9.1.2
 DB_USER=xwiki
 DB_PASSWORD=xwiki
 DB_DATABASE=xwiki
diff --git a/9/mysql-tomcat/Dockerfile b/9/mysql-tomcat/Dockerfile
index ee7e19aa5b48cd1029cb842bf9197da620fdf0d1..97b0ae1e89c6d74658cd318f4a0dcfaef4300295 100644
--- a/9/mysql-tomcat/Dockerfile
+++ b/9/mysql-tomcat/Dockerfile
@@ -42,12 +42,12 @@ RUN apt-get update && \
 # Install XWiki as the ROOT webapp context in Tomcat
 # Create the Tomcat temporary directory
 # Configure the XWiki permanent directory
-ENV XWIKI_VERSION=9.0
+ENV XWIKI_VERSION=9.1.2
 ENV XWIKI_URL_PREFIX "http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-web/${XWIKI_VERSION}"
 # Note: To compute the sha256, download the binary and issue:
 # - Unix: sha256sum <binary name>
-# - Mac: shasum --algorithm 25 <binary name>
-ENV XWIKI_DOWNLOAD_SHA256 faaca2aa1ade07448be944feb39db22131accfe82658463abfd55f93f859cc25
+# - Mac: shasum --algorithm 256 <binary name>
+ENV XWIKI_DOWNLOAD_SHA256 580190b11bc9f11fde0cf992c0299fff17b5bece7fa5d7d4f7fb53c46e77a075
 RUN rm -rf /usr/local/tomcat/webapps/* && \
   mkdir -p /usr/local/tomcat/temp && \
   mkdir -p /usr/local/xwiki/data && \
diff --git a/9/postgres-tomcat/.env b/9/postgres-tomcat/.env
index 6162d63be61e049b2695e2a7378a268de458c5d4..c25c2eb9b8aea329c36d1bf73a47768626af8874 100644
--- a/9/postgres-tomcat/.env
+++ b/9/postgres-tomcat/.env
@@ -1,5 +1,5 @@
 # Default environment values
-XWIKI_VERSION=9.0
+XWIKI_VERSION=9.1.2
 DB_USER=xwiki
 DB_PASSWORD=xwiki
 DB_DATABASE=xwiki
diff --git a/9/postgres-tomcat/Dockerfile b/9/postgres-tomcat/Dockerfile
index 32cfe49f49a30c8882e3795a7f4d7eb6b8c839b5..81b28794b3f9e4f426fa0a6b916dbe7e45bd152e 100644
--- a/9/postgres-tomcat/Dockerfile
+++ b/9/postgres-tomcat/Dockerfile
@@ -42,12 +42,12 @@ RUN apt-get update && \
 # Install XWiki as the ROOT webapp context in Tomcat
 # Create the Tomcat temporary directory
 # Configure the XWiki permanent directory
-ENV XWIKI_VERSION=9.0
+ENV XWIKI_VERSION=9.1.2
 ENV XWIKI_URL_PREFIX "http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-web/${XWIKI_VERSION}"
 # Note: To compute the sha256, download the binary and issue:
 # - Unix: sha256sum <binary name>
-# - Mac: shasum --algorithm 25 <binary name>
-ENV XWIKI_DOWNLOAD_SHA256 faaca2aa1ade07448be944feb39db22131accfe82658463abfd55f93f859cc25
+# - Mac: shasum --algorithm 256 <binary name>
+ENV XWIKI_DOWNLOAD_SHA256 580190b11bc9f11fde0cf992c0299fff17b5bece7fa5d7d4f7fb53c46e77a075
 RUN rm -rf /usr/local/tomcat/webapps/* && \
   mkdir -p /usr/local/tomcat/temp && \
   mkdir -p /usr/local/xwiki/data && \
diff --git a/build.gradle b/build.gradle
index e1119d317c064c6e2c093137147879889aab2132..81588977456e1b50099251ec960885db4b38eed0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -35,8 +35,8 @@ def tokens = [
         xwikiSha256: 'b414edb4527e3d8b27c40a8c3f2f09423980de7963207b7dc89da71d14e7fb23'
     ],
     '9' : [
-        xwikiVersion: '9.0',
-        xwikiSha256: 'faaca2aa1ade07448be944feb39db22131accfe82658463abfd55f93f859cc25'
+        xwikiVersion: '9.1.2',
+        xwikiSha256: '580190b11bc9f11fde0cf992c0299fff17b5bece7fa5d7d4f7fb53c46e77a075'
     ]
 ]
 
diff --git a/template/Dockerfile b/template/Dockerfile
index 1cfe135eade628145314c19fd1d8a4dafd5cf8e2..4e9d6395c6ea1f3fd4e74bff35507efe87d4118a 100644
--- a/template/Dockerfile
+++ b/template/Dockerfile
@@ -47,7 +47,7 @@ ENV XWIKI_VERSION=$xwikiVersion
 ENV XWIKI_URL_PREFIX "http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-web/\${XWIKI_VERSION}"
 # Note: To compute the sha256, download the binary and issue:
 # - Unix: sha256sum <binary name>
-# - Mac: shasum --algorithm 25 <binary name>
+# - Mac: shasum --algorithm 256 <binary name>
 ENV XWIKI_DOWNLOAD_SHA256 $xwikiSha256
 RUN rm -rf /usr/local/tomcat/webapps/* && \\
   mkdir -p /usr/local/tomcat/temp && \\