2015-03-23 22:16:14 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
2015-11-13 08:33:51 +01:00
|
|
|
TARGET=dist/docker-compose-$(uname -s)-$(uname -m)
|
2018-01-19 02:19:22 +01:00
|
|
|
VENV=/code/.tox/py36
|
2015-09-01 22:23:04 +02:00
|
|
|
|
2015-03-23 22:16:14 +01:00
|
|
|
mkdir -p `pwd`/dist
|
|
|
|
chmod 777 `pwd`/dist
|
|
|
|
|
2015-11-02 19:43:29 +01:00
|
|
|
$VENV/bin/pip install -q -r requirements-build.txt
|
2016-01-15 22:35:26 +01:00
|
|
|
./script/build/write-git-sha
|
2015-09-16 22:45:26 +02:00
|
|
|
su -c "$VENV/bin/pyinstaller docker-compose.spec" user
|
2015-09-01 22:23:04 +02:00
|
|
|
mv dist/docker-compose $TARGET
|
|
|
|
$TARGET version
|