docker-compose/container-build
Knut Ahlers 0ce9f08726
Initial version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-11-26 14:46:37 +01:00

22 lines
318 B
Bash
Executable file

#!/bin/bash
set -euxo pipefail
build_requirements=(
build-base
libffi-dev
openssl-dev
)
run_requirements=(
libffi
openssl
)
apk --no-cache add \
"${build_requirements[@]}" \
"${run_requirements[@]}"
pip install --no-cache-dir -r /opt/setup/requirements.txt
apk --no-cache del \
"${build_requirements[@]}"