Microservices with Docker on Microsoft Azure™ (includes Content Update Program)
by Boris Scholl, Trent Swanson, Daniel Fernandez
Docker as a Build/Test Host
Some development teams use Docker containers not as a host for their application in production, but rather as an on-demand, isolated environment for compiling and testing. A developer can easily spin up a build inside a container, specify what tests to run, and run them in a container instead of on their local box. One reason this is handy is if a developer needs to install and validate different dependencies like shared libraries or prerelease software that you might not want to install on your local box. After the build compiles and unit tests pass, the container is then discarded. A more common use case for build and test validation with Docker is not on the local machine, but rather as part of a continuous integration ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access