From edad916ef22d778ff7c41f07b9e1cddebe904dde Mon Sep 17 00:00:00 2001 From: Manuel Montecelo Date: Wed, 3 Jan 2018 18:09:02 +0100 Subject: [PATCH] TT#29356 Improve the way to install checkbashisms from devscripts Use "dpkg" instead of "ar", and don't write the rest of the contents to disk. Change-Id: I42e19ec04613dfbee5809917bb01347d6e2aa726 --- t/tap-tests-docker/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/t/tap-tests-docker/Dockerfile b/t/tap-tests-docker/Dockerfile index a461858..a6fd06f 100644 --- a/t/tap-tests-docker/Dockerfile +++ b/t/tap-tests-docker/Dockerfile @@ -28,8 +28,7 @@ RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ # we need checkbashisms scipt only, providing it manually RUN mkdir /tmp/zzz && cd /tmp/zzz && \ apt-get download devscripts && \ -ar x devscripts_*.deb && \ -tar -C / -p -xvf data.tar.xz ./usr/bin/checkbashisms && \ +dpkg --fsys-tarfile devscripts_*.deb | tar -C / -p -xv ./usr/bin/checkbashisms && \ rm -rf /tmp/zzz RUN echo 'SHELL=bash WORKSPACE=/code/ /usr/bin/tap_tool_dispatcher' >>/root/.bash_history