Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • bmi/opendesk/component-code/knowledge-management/xwiki/xwiki_docker
1 result
Show changes
# Default environment values
XWIKI_VERSION=15.10.16
XWIKI_VERSION=17.0.0
DB_USER=xwiki
DB_PASSWORD=xwiki
DB_DATABASE=xwiki
......
......@@ -17,7 +17,7 @@
# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA, or see the FSF site: http://www.fsf.org.
# ---------------------------------------------------------------------------
FROM tomcat:9-jre17
FROM tomcat:10-jre21
# ____ ____ ____ ____ _ __ _
# |_ _||_ _||_ _| |_ _|(_) [ | _ (_)
......@@ -48,9 +48,9 @@ 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="15.10.16"
ENV XWIKI_VERSION="17.0.0"
ENV XWIKI_URL_PREFIX "https://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-distribution-war/${XWIKI_VERSION}"
ENV XWIKI_DOWNLOAD_SHA256 c3a7bca6a05cf185ecfbea6df886c5764c6e0fcfdfce988498909911ebe98dda
ENV XWIKI_DOWNLOAD_SHA256 fd4d25b42c5645d87f7ed242967161ccb2648688948de93649a5ca11a1845c34
RUN rm -rf /usr/local/tomcat/webapps/* && \
mkdir -p /usr/local/tomcat/temp && \
mkdir -p /usr/local/xwiki/data && \
......
......@@ -45,46 +45,94 @@ def variants = ['mysql-tomcat', 'mariadb-tomcat', 'postgres-tomcat']
// - mariadb: https://github.com/xwiki/xwiki-platform/blob/master/pom.xml#L113 (link for master)
// - postgresql: https://github.com/xwiki/xwiki-platform/blob/master/pom.xml#L119 (link for master)
// Versions of mysql, mariadb and postgres currently in use in the docker images.
def mysql = [
'9': [
JDBCVersion: '9.1.0',
JDBCSha256: '8776e2ebc46072c9a47ea59d98298c4273bd9f16a7b26b5dfa4744535aa26c62'
],
'8': [
JDBCVersion: '8.4.0',
JDBCSha256: 'd77962877d010777cff997015da90ee689f0f4bb76848340e1488f2b83332af5'
]
]
def mariadb = [
'3.5': [
JDBCVersion: '3.5.1',
JDBCSha256: '50a50c4a3c13c30dfbd40587f7ad9a496197d285ede0948641d9eee68fdf2106'
],
'3.4': [
JDBCVersion: '3.4.1',
JDBCSha256: 'f60e4b282f1f4bdb74f0a26436ba7078a5e480b6f6702f6a7b45d9ba5e604a24'
]
]
def postgres = [
'42': [
JDBCVersion: '42.7.4',
JDBCSha256: '188976721ead8e8627eb6d8389d500dccc0c9bebd885268a3047180274a6031e'
]
]
def tokens = [
'17': [
xwikiVersion: '17.0.0',
xwikiSha256: 'fd4d25b42c5645d87f7ed242967161ccb2648688948de93649a5ca11a1845c34',
mysqlJDBCVersion: mysql['9'].JDBCVersion,
mysqlJDBCSha256: mysql['9'].JDBCSha256,
mariadbJDBCVersion: mariadb['3.5'].JDBCVersion,
mariadbJDBCSha256: mariadb['3.5'].JDBCSha256,
postgresJDBCVersion: postgres['42'].JDBCVersion,
postgresJDBCSha256: postgres['42'].JDBCSha256,
tomcatImageTag: [
tomcatVersion: '10',
javaVersion: '21'
]
],
'16': [
xwikiVersion: '16.10.2',
xwikiSha256: '1a6287416db4243e3d40939e19509ca4ebe9e4f46f8fcf7204f223bcfff8b6e2',
mysqlJDBCVersion: '9.1.0',
mysqlJDBCSha256: '8776e2ebc46072c9a47ea59d98298c4273bd9f16a7b26b5dfa4744535aa26c62',
mariadbJDBCVersion: '3.5.1',
mariadbJDBCSha256: '50a50c4a3c13c30dfbd40587f7ad9a496197d285ede0948641d9eee68fdf2106',
postgresJDBCVersion: '42.7.4',
postgresJDBCSha256: '188976721ead8e8627eb6d8389d500dccc0c9bebd885268a3047180274a6031e'
xwikiVersion: '16.10.3',
xwikiSha256: 'bf1f77ad964b2285c5a7695ae279bbb26f23df01ea83982bcc644af45a658405',
mysqlJDBCVersion: mysql['9'].JDBCVersion,
mysqlJDBCSha256: mysql['9'].JDBCSha256,
mariadbJDBCVersion: mariadb['3.5'].JDBCVersion,
mariadbJDBCSha256: mariadb['3.5'].JDBCSha256,
postgresJDBCVersion: postgres['42'].JDBCVersion,
postgresJDBCSha256: postgres['42'].JDBCSha256,
tomcatImageTag: [
tomcatVersion: '9',
javaVersion: '21'
]
],
'16.4': [
xwikiVersion: '16.4.6',
xwikiSha256: 'b41e9d29eafd31acdcf44c7ca5c81eacb2067ca129cf35391d10f493f6e623d3',
mysqlJDBCVersion: '8.4.0',
mysqlJDBCSha256: 'd77962877d010777cff997015da90ee689f0f4bb76848340e1488f2b83332af5',
mariadbJDBCVersion: '3.5.1',
mariadbJDBCSha256: '50a50c4a3c13c30dfbd40587f7ad9a496197d285ede0948641d9eee68fdf2106',
postgresJDBCVersion: '42.7.4',
postgresJDBCSha256: '188976721ead8e8627eb6d8389d500dccc0c9bebd885268a3047180274a6031e'
],
'15': [
xwikiVersion: '15.10.16',
xwikiSha256: 'c3a7bca6a05cf185ecfbea6df886c5764c6e0fcfdfce988498909911ebe98dda',
mysqlJDBCVersion: '8.4.0',
mysqlJDBCSha256: 'd77962877d010777cff997015da90ee689f0f4bb76848340e1488f2b83332af5',
mariadbJDBCVersion: '3.5.1',
mariadbJDBCSha256: '50a50c4a3c13c30dfbd40587f7ad9a496197d285ede0948641d9eee68fdf2106',
postgresJDBCVersion: '42.7.4',
postgresJDBCSha256: '188976721ead8e8627eb6d8389d500dccc0c9bebd885268a3047180274a6031e'
mysqlJDBCVersion: mysql['8'].JDBCVersion,
mysqlJDBCSha256: mysql['8'].JDBCSha256,
mariadbJDBCVersion: mariadb['3.5'].JDBCVersion,
mariadbJDBCSha256: mariadb['3.5'].JDBCSha256,
postgresJDBCVersion: postgres['42'].JDBCVersion,
postgresJDBCSha256: postgres['42'].JDBCSha256,
tomcatImageTag: [
tomcatVersion: '9',
javaVersion: '17'
]
],
'14': [
xwikiVersion: '14.10.21',
xwikiSha256: '72a634e2aeb085878dce2629a3e5e6136887d0c22712dcee5a284be8143135ea',
mysqlJDBCVersion: '8.4.0',
mysqlJDBCSha256: 'd77962877d010777cff997015da90ee689f0f4bb76848340e1488f2b83332af5',
mariadbJDBCVersion: '3.4.1',
mariadbJDBCSha256: 'f60e4b282f1f4bdb74f0a26436ba7078a5e480b6f6702f6a7b45d9ba5e604a24',
postgresJDBCVersion: '42.7.4',
postgresJDBCSha256: '188976721ead8e8627eb6d8389d500dccc0c9bebd885268a3047180274a6031e'
mysqlJDBCVersion: mysql['8'].JDBCVersion,
mysqlJDBCSha256: mysql['8'].JDBCSha256,
mariadbJDBCVersion: mariadb['3.4'].JDBCVersion,
mariadbJDBCSha256: mariadb['3.4'].JDBCSha256,
postgresJDBCVersion: postgres['42'].JDBCVersion,
postgresJDBCSha256: postgres['42'].JDBCSha256,
tomcatImageTag: [
tomcatVersion: '9',
javaVersion: '17'
]
]
]
......
......@@ -17,7 +17,7 @@
# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA, or see the FSF site: http://www.fsf.org.
# ---------------------------------------------------------------------------
FROM tomcat:9-jre17
FROM tomcat:${tomcatImageTag.tomcatVersion}-jre${tomcatImageTag.javaVersion}
# ____ ____ ____ ____ _ __ _
# |_ _||_ _||_ _| |_ _|(_) [ | _ (_)
......

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.