This is a project inspired in Florian JUDITH's repo docker-draw.io. It only covers the functionalities that are necessary at CERN.
This Dockerfile creates the image for drawi.io using "Tomcat:9-jre11-slim" as base.
This image does not leverage embedded database
Build the image.
docker build -t="drawioimg" .
Create container with the image
docker run -d -name="drawio" -p 8080:8080 drawioimg
Start a web browser session to http://localhost:8080?offline=1
?offline=1
is a security feature that disables support of cloud storage.
The OpenShift CLI okd is needed
Login to your account
oc login https://openshift.cern.ch --token=<token>
Select the project
oc project <project name>
Create the application
oc new-app . --strategy=docker