Merge pull request #130 from atsaloli/patch-1

Two small fixes
This commit is contained in:
Jérôme Petazzoni
2018-03-05 10:10:25 -08:00
committed by GitHub

View File

@@ -90,11 +90,11 @@ COPY <test data sets and fixtures>
RUN <unit tests>
FROM <baseimage>
RUN <install dependencies>
COPY <vcode>
COPY <code>
RUN <build code>
CMD, EXPOSE ...
```
* The build fails as soon as an instructions fails
* The build fails as soon as an instruction fails
* If `RUN <unit tests>` fails, the build doesn't produce an image
* If it succeeds, it produces a clean image (without test libraries and data)