August 2017
Intermediate to advanced
332 pages
9h 16m
English
We will start by creating a separate Dockerfile for acceptance testing. Let's create a new directory acceptance in the calculator project and a Dockerfile inside:
FROM ubuntu:trustyRUN apt-get update && \ apt-get install -yq curlCOPY test.sh .CMD ["bash", "test.sh"]
It creates an image that runs the acceptance test.
Read now
Unlock full access