rm -rf kaniko
mkdir kaniko
cd kaniko
export GOPATH=`pwd`
mkdir -p src/github.com/GoogleContainerTools
git clone https://github.com/GoogleContainerTools/kaniko.git src/github.com/GoogleContainerTools/kaniko
( cd src/github.com/GoogleContainerTools/kaniko
  dep ensure
)
cd ..
tar -c -f- --exclude .git kaniko | xz -9 >kaniko-`date '+%Y%m%d'`.tar.xz
rm -rf kaniko
