compose/script/build-linux

9 lines
302 B
Plaintext
Raw Normal View History

2014-03-03 16:09:26 +01:00
#!/bin/sh
2014-05-08 14:02:50 +02:00
set -ex
mkdir -p `pwd`/dist
chmod 777 `pwd`/dist
2014-03-03 16:09:26 +01:00
docker build -t fig .
docker run -u user -v `pwd`/dist:/code/dist --rm --entrypoint pyinstaller fig -F bin/fig
mv dist/fig dist/fig-Linux-x86_64
docker run -u user -v `pwd`/dist:/code/dist --rm --entrypoint dist/fig-Linux-x86_64 fig --version