| 12345678910111213141516171819202122232425262728293031323334353637383940 | #!/bin/bashset -exCODE_PATH=/codeVENV="${CODE_PATH}"/.tox/py37cd "${CODE_PATH}"mkdir -p distchmod 777 dist"${VENV}"/bin/pip3 install -q -r requirements-build.txt# TODO(ulyssessouza) To check if really neededif [ -z "${DOCKER_COMPOSE_GITSHA}" ]; then    DOCKER_COMPOSE_GITSHA="$(script/build/write-git-sha)"fiecho "${DOCKER_COMPOSE_GITSHA}" > compose/GITSHAexport PATH="${CODE_PATH}/pyinstaller:${PATH}"if [ ! -z "${BUILD_BOOTLOADER}" ]; then    # Build bootloader for alpine; develop is the main branch    git clone --single-branch --branch develop https://github.com/pyinstaller/pyinstaller.git /tmp/pyinstaller    cd /tmp/pyinstaller/bootloader    # Checkout commit corresponding to version in requirements-build    git checkout v3.5    "${VENV}"/bin/python3 ./waf configure --no-lsb all    "${VENV}"/bin/pip3 install ..    cd "${CODE_PATH}"    rm -Rf /tmp/pyinstallerelse    echo "NOT compiling bootloader!!!"fi"${VENV}"/bin/pyinstaller --exclude-module pycrypto --exclude-module PyInstaller docker-compose.specls -la dist/ldd dist/docker-composemv dist/docker-compose /usr/local/bindocker-compose version
 |