mirror of https://github.com/docker/compose.git
16 lines
313 B
Bash
Executable File
16 lines
313 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
TARGET=dist/docker-compose-$(uname -s)-$(uname -m)
|
|
VENV=/code/.tox/py27
|
|
|
|
mkdir -p `pwd`/dist
|
|
chmod 777 `pwd`/dist
|
|
|
|
$VENV/bin/pip install -q -r requirements-build.txt
|
|
./script/write-git-sha
|
|
su -c "$VENV/bin/pyinstaller docker-compose.spec" user
|
|
mv dist/docker-compose $TARGET
|
|
$TARGET version
|