4 ms·
You can also start with a base Docker image and then install any extra dependencies. Should be faster than the machine VM.
by felicianotech 9y ago
You can also start with a base Docker image and then install any extra dependencies. Should be faster than the machine VM.
- rtpg 9y agoI don't know how possible this actually is. I was having some issues with this, personally Like isn't the point of docker to not be able to install a bunch of stuff after the image is built?
- felicianotech 9y agoFor shipping an image yes, but that's not what you'll be doing. For example, if you've used CircleCI 1.0 before, those builds run in LXC which is Docker's underlying technology. My suggestion is more down that path rather than 2.0's bring your own Dockerfile approach. The base image you choose just means you don't need to install that specific language/toolset manually, which saves part of the build time and work writing the config.