patterndockerMinor
Dockerize CI installation on master node VM
Viewed 0 times
nodemasterdockerizeinstallation
Problem
Carrying on from this question, would you want to dockerise your CI (Gitlab (especially if Gitlab also contains all your repositories) or Jenkins) installation on your master node virtual machine?
What are the advantages and disadvantages to this, than just installing normally onto the VM without docker?
What are the advantages and disadvantages to this, than just installing normally onto the VM without docker?
Solution
If it's just the master, I would say it's okay. The main concern would be any recursive dependencies where your CI tool manages the Docker platform that it runs on.
Build agents are another case. I've run CI with Docker in both configurations, and I prefer running outside of Docker and invoking it during your build, as it allows consistency between your dev and CI platform. Eg: https://github.com/amaysim-au/docker-serverless
Build agents are another case. I've run CI with Docker in both configurations, and I prefer running outside of Docker and invoking it during your build, as it allows consistency between your dev and CI platform. Eg: https://github.com/amaysim-au/docker-serverless
Context
StackExchange DevOps Q#2108, answer score: 3
Revisions (0)
No revisions yet.