diff --git a/root/etc/cont-init.d/95-apprise b/root/etc/cont-init.d/95-apprise index 2a5b76d..b3cdcc4 100644 --- a/root/etc/cont-init.d/95-apprise +++ b/root/etc/cont-init.d/95-apprise @@ -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