#!/bin/sh set -ex mkdir -p `pwd`/dist chmod 777 `pwd`/dist docker build -t fig . docker run -u user -v `pwd`/dist:/code/dist fig pyinstaller -F bin/fig mv dist/fig dist/fig-Linux-x86_64 docker run -u user -v `pwd`/dist:/code/dist fig dist/fig-Linux-x86_64 --version