From: Don Armstrong Date: Mon, 19 Mar 2018 05:02:24 +0000 (-0700) Subject: error out if a docker build command fails X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=a5abf90ba78dfdb8290a63f489fe077573113c6d error out if a docker build command fails --- diff --git a/.travis/Dockerfile b/.travis/Dockerfile index e4bfa95..cc825f6 100644 --- a/.travis/Dockerfile +++ b/.travis/Dockerfile @@ -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