From 7047e9397248c3bc66264cf7f3f9810466454622 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Sun, 28 Mar 2021 10:39:17 -0500 Subject: [PATCH] Add rust for crypto --- root/etc/cont-init.d/95-apprise | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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