mirror of
https://github.com/luzifer-docker/docker-compose.git
synced 2024-12-29 22:01:22 +00:00
23 lines
318 B
Text
23 lines
318 B
Text
|
#!/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[@]}"
|