This page (revision-52) was last changed on 23-Apr-2022 17:05 by Harry Metske

This page was created on 23-Apr-2022 17:05 by unknown

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
52 23-Apr-2022 17:05 49 KB Harry Metske to previous
51 23-Apr-2022 17:05 48 KB HarryMetske to previous | to last
50 23-Apr-2022 17:05 48 KB HarryMetske to previous | to last
49 23-Apr-2022 17:05 48 KB Harry Metske to previous | to last
48 23-Apr-2022 17:05 48 KB Harry Metske to previous | to last
47 23-Apr-2022 17:05 48 KB Harry Metske to previous | to last
46 23-Apr-2022 17:05 39 KB Harry Metske to previous | to last
45 23-Apr-2022 17:05 39 KB Harry Metske to previous | to last
44 23-Apr-2022 17:05 39 KB Harry Metske to previous | to last
43 23-Apr-2022 17:05 38 KB Harry Metske to previous | to last
42 23-Apr-2022 17:05 38 KB Harry Metske to previous | to last DOCKER_OPTS="-s devicemapper"
41 23-Apr-2022 17:05 38 KB HarryMetske to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 656 added 31 lines
%%
Now create a JSPWiki docker image, with the following Dockerfile :
%%collapsebox
JSPWiki Dockerfile
{{{
#
# Dockerfile for JSPWiki running in a tomcat 8.0.18 on top of OpenJDK7 on top of CentoS 7
# Also install tar, needed for unpacking the tomcat archive.
#
FROM 81d236795c31
MAINTAINER Harry Metske <harry.metske@gmail.com>
# we need the unzip command to unpack the war and zip files
USER root
RUN yum install -y unzip
#
USER tomcat
# download the war from a fixed download location, create JSPWiki webapps dir, unzip it there.
RUN mkdir /usr/local/tomcat/webapps/JSPWiki
RUN TF=/tmp/jspwiki.download.war && curl --silent http://apache.xl-mirror.nl/jspwiki/2.10.1/binaries/JSPWiki.war > $TF && unzip -q -d /usr/local/tomcat/webapps/JSPWiki $TF && rm $TF
#
# download the default set of pages
RUN mkdir ~/jspwiki-files && TF=/tmp/jspwikipages-download.zip && curl --silent http://apache.xl-mirror.nl/jspwiki/2.10.1/wikipages/jspwiki-wikipages-en-2.10.1.zip > $TF && unzip -q -d /tmp $TF && mv /tmp/jspwiki-wikipages-en-2.10.1/* ~/jspwiki-files && rm -r $TF /tmp/jspwiki-wikipages-en-2.10.1
#
# by default we start the Tomcat container when the docker container is started.
CMD /usr/local/tomcat/bin/catalina.sh run
}}}
%%