From 3f860bfca316ecfa0de0b5318114c883bdceaf16 Mon Sep 17 00:00:00 2001 From: Matt Boersma Date: Sun, 15 Jan 2017 09:48:12 -0700 Subject: [PATCH] fix(Dockerfile): force gunzip of copyright archive --- rootfs/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/Dockerfile b/rootfs/Dockerfile index f7783bf75..7425917e0 100644 --- a/rootfs/Dockerfile +++ b/rootfs/Dockerfile @@ -28,7 +28,7 @@ RUN buildDeps='gcc git libffi-dev libpq-dev libldap2-dev libsasl2-dev python3-de apt-get clean -y && \ # package up license files if any by appending to existing tar COPYRIGHT_TAR='/usr/share/copyrights.tar'; \ - gunzip $COPYRIGHT_TAR.gz; tar -rf $COPYRIGHT_TAR /usr/share/doc/*/copyright; gzip $COPYRIGHT_TAR && \ + gunzip -f $COPYRIGHT_TAR.gz; tar -rf $COPYRIGHT_TAR /usr/share/doc/*/copyright; gzip $COPYRIGHT_TAR && \ rm -rf \ /usr/share/doc \ /usr/share/man \