From a5abf90ba78dfdb8290a63f489fe077573113c6d Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 18 Mar 2018 22:02:24 -0700 Subject: [PATCH] error out if a docker build command fails --- .travis/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2