From 7ebf59ba1613571cb016384c3357c5546af3d98d Mon Sep 17 00:00:00 2001 From: French Ben Date: Tue, 13 Sep 2016 11:28:07 -0700 Subject: [PATCH] Added licensing zip from container to prevent user login leak --- licensing/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/licensing/Makefile b/licensing/Makefile index 1fdf97865..949569ced 100644 --- a/licensing/Makefile +++ b/licensing/Makefile @@ -7,6 +7,8 @@ license: packages.lua Dockerfile license.sh run: license rm -rf output docker run -it -v /etc:/hostetc -v /usr:/hostusr -v /lib:/lib -v $(PWD)/output:/output license + docker run -it --rm -v $(PWD):/licensing debian sh -c "cd /licensing/output && tar --numeric-owner -zcvf /licensing/License.tar.gz *" + mv License.tar.gz ~/Desktop/ clean: rm -rf output