Hi I have an agent running happily in a Docker container. It is provisioned as a Node/NPM resource.
First we do 'npn install' which pulls down into the agent all the node dependencies. Then I need to build a Docker image, from the Dockerfile present in the root of the repo material checked out into the Agent. The Agent does not have docker installed, and I have read differing reports on the sanity of running Docker-in-Docker so I would rather not do that. How can I build a Docker image from a Dockerfile in the Agent? Will I need to have a non-dockerised Agent running to use the host Docker engine and then mount the entire repo to the host volume? There must be a canonical way to achieve this, I guess the problem is that the Agent is running in a container. Thanks for your advice Hugh -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
