From 95bbf410cfa8675b766ccc5a0f21c68b7c6d5e07 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Sun, 4 Oct 2020 15:30:27 -0500 Subject: [PATCH] Install pip --- root/etc/cont-init.d/95-apprise | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/root/etc/cont-init.d/95-apprise b/root/etc/cont-init.d/95-apprise index 4099296..2a5b76d 100644 --- a/root/etc/cont-init.d/95-apprise +++ b/root/etc/cont-init.d/95-apprise @@ -6,18 +6,20 @@ if ! command -v apprise; then if [ -f /usr/bin/apt ]; then apt-get update apt-get install --no-install-recommends -y \ - python3 + python3 \ + python3-pip fi # Alpine if [ -f /sbin/apk ]; then apk add --no-cache \ - python3 + python3 \ + py3-pip fi - # ensurepip - python3 -m ensurepip --upgrade + # setuptools + python3 -m pip install --upgrade pip setuptools # apprise - python3 -m pip install apprise + python3 -m pip install --upgrade apprise fi