Note | ||
---|---|---|
| ||
Charles: Apologies if this isn't quite the place, but rather than 50 comments that will become stale, I figured I'd use this as a "forum" for figuring this out and take it out after we have... I see Docker being used as:
Andrew Stuart suggested having DockerHub+GitHub integration where DH will automatically build official images. That might work for demo system (or a baseline), but I think if Apereo wants to publish official Docker images of uPortal, it is probably better to setup something else. travis-ci.org might be an acceptable way to setup multiple jobs to build and push images (I don't think there is a right or wrong answer here and I don't have strong feelings one way or another nor about what system is used, I just think we are going to need to build a menu of images). |
- Why docker?
- Pros
- Rapid application deployment (also, simplify movement to the cloud)
- Portability across machines - what runs and works in one environment (dev or ops machine) will run the same elsewhere
- Sharing - quickly share new portlets, code changes, etc. Can ease acceptance of new code (pull requests etc) into the community base by providing a simplified way to demo changes.
- Simplified maintenance and upgrades. Java patch fixes security holes? Deploying a whole new cluster of Docker images is much much simpler than trying to patch real servers and testing each.
- Minimize environment needed to build, test, and work with uPortal. Ops and developers could work without having to download (the right versions of) Java, maven, groovy, gradle, Tomcat or Jetty, etc
- Cons
- Security. Asking folks to blindly pull down an image and run it as production code means having to explain the WHOLE stack (what Linux Kernel and patches are involved, which versions of Java, Tomcat (or other Java Servlet container), etc are being run.
- Licensing???
- Pros
- Build process
- Potential processes
- Jenkins
- Docker hub
- How many images are built?
- uPortal
- Quickstart Database
- Potential processes
- Customization/Deployment approaches
- Build a separate container FROM jasig/uportal:5
- Simply overlay customizations using volume mounts at deploy time
- Customization process
- Build FROM jasig/uportal:5
- Etc
- docker-compose.yaml
- kubernetes
- Deployment process
- kubernetes deployments
- docker-compose/docker app bundles
- ecs task definitions