#!/bin/sh
rm -rf podman
mkdir podman
export GOPATH=`pwd`/podman
#export GO111MODULE=on
#export CGO_ENABLED=1
( cd podman
  go get -v -d -u github.com/containers/libpod
)
tar cf - --exclude .git podman | xz -9 >podman-`date '+%Y%m%d'`.tar.xz
rm -rf podman
