From 252e7735862a3fd139cc99fb270aff2d6b3a2a71 Mon Sep 17 00:00:00 2001 From: Jochen Cordes Date: Sun, 12 Jun 2016 16:39:10 +0200 Subject: [PATCH] Added s2i scripts for reducing image-size (workaround for https://github.com/fabric8io-images/s2i/issues/12). --- .s2i/bin/assemble | 1 + 1 file changed, 1 insertion(+) diff --git a/.s2i/bin/assemble b/.s2i/bin/assemble index f326a04..8e3ba9f 100755 --- a/.s2i/bin/assemble +++ b/.s2i/bin/assemble @@ -1,4 +1,5 @@ #!/bin/bash set +find / -name assemble source ${STI_SCRIPTS_PATH}/assemble find /tmp/src -name target | xargs -I{} rm -rf {}