Merge pull request #194 from linuxserver/universal-apprise-rust

Add rust for crypto
This commit is contained in:
Eric Nemchik
2021-03-28 13:06:13 -05:00
committed by GitHub
+11 -1
View File
@@ -7,11 +7,17 @@ if ! command -v apprise; then
apt-get update
apt-get install --no-install-recommends -y \
python3 \
python3-pip
python3-pip \
runc
fi
# Alpine
if [ -f /sbin/apk ]; then
apk add --no-cache \
cargo \
libffi-dev \
openssl-dev \
python3 \
python3-dev \
python3 \
py3-pip
fi
@@ -22,4 +28,8 @@ if ! command -v apprise; then
# apprise
python3 -m pip install --upgrade apprise
# cleanup cargo
rm -rf \
${HOME}/.cargo
fi