]> git.donarmstrong.com Git - debbugs.git/blobdiff - .travis/Dockerfile
error out if a docker build command fails
[debbugs.git] / .travis / Dockerfile
index e4bfa9538be6c769a801d5f8ae2348a599e7400c..cc825f6b1723fa38d3be1c6c5ffed73cc79f3276 100644 (file)
@@ -6,10 +6,10 @@ RUN apt-get -qq update; \
 COPY debian/control debian/control
 COPY debian/changelog debian/changelog
 RUN dch -r -m '';
-RUN apt-get -qq update; \
+RUN apt-get -qq update && \
  mk-build-deps --install \
  --tool 'apt-get -y -o Debug:pkgProblemResolver=yes --no-install-recommends' \
- debian/control; \
- rm -rf /var/lib/apt/lists/*; \
+ debian/control && \
+ rm -rf /var/lib/apt/lists/* && \
  apt-get clean;
 COPY . debbugs
\ No newline at end of file