Generic base image for Enonic CMS
docker build -t enoniccloud/enonic-cms .
This image should be a base for creating own images with Enonic CMS.
docker run -it --rm --name java7 enoniccloud/enonic-cms
To deploy a Enonic CMS container based on this image, you need to create a new image based on this one. Here's an example Dockerfile:
FROM enoniccloud/enonic-cms
# Copy the
COPY webapps/root.war $CATALINA_HOME/webapps/.
COPY cms.home/* /$CMS_HOME/.
Both database user and database name is hardcoded for ease of use to "cms", but the environment variable CMS_DB_PASSWORD needs to be set either in your Dockerfile,