code-server: php8 initial release

This commit is contained in:
Wout Van De Wiel
2021-03-01 17:51:06 +01:00
parent d1dc6e5858
commit 75544f568b
7 changed files with 21 additions and 70 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/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