mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-27 10:42:20 -04:00
14 lines
383 B
Plaintext
14 lines
383 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
echo "**** adding ppa ondrej/php ****"
|
|
apt-get update && apt-get install -y \
|
|
software-properties-common
|
|
ppa="ppa:ondrej/php"
|
|
if ! grep -q "^deb .*${ppa}" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
|
|
add-apt-repository ${ppa} -y
|
|
fi
|
|
|
|
echo "**** installing php and composer ****"
|
|
apt-get update && apt-get install -y \
|
|
composer \
|
|
php8.0 |