mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
Install pip
This commit is contained in:
@@ -6,18 +6,20 @@ if ! command -v apprise; then
|
|||||||
if [ -f /usr/bin/apt ]; then
|
if [ -f /usr/bin/apt ]; then
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install --no-install-recommends -y \
|
apt-get install --no-install-recommends -y \
|
||||||
python3
|
python3 \
|
||||||
|
python3-pip
|
||||||
fi
|
fi
|
||||||
# Alpine
|
# Alpine
|
||||||
if [ -f /sbin/apk ]; then
|
if [ -f /sbin/apk ]; then
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
python3
|
python3 \
|
||||||
|
py3-pip
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ensurepip
|
# setuptools
|
||||||
python3 -m ensurepip --upgrade
|
python3 -m pip install --upgrade pip setuptools
|
||||||
|
|
||||||
# apprise
|
# apprise
|
||||||
python3 -m pip install apprise
|
python3 -m pip install --upgrade apprise
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user