aurweb/docker/scripts/install-python-deps.sh
Kevin Morris 4ae3fbd5d1
change(docker): depend on provided poetry.lock for dep resolution
Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-10-22 17:43:00 -07:00

13 lines
306 B
Bash
Executable file

#!/bin/bash
set -eou pipefail
# Upgrade PIP; Arch Linux's version of pip is outdated for Poetry.
pip install --upgrade pip
# Install the aurweb package and deps system-wide via poetry.
poetry config virtualenvs.create false
poetry update
poetry build
poetry install --no-interaction --no-ansi
exec "$@"