2022-03-09 02:39:29 +13:00
|
|
|
FROM gitpod/workspace-full
|
|
|
|
|
2022-03-23 02:13:48 +13:00
|
|
|
RUN sudo apt update
|
|
|
|
RUN sudo add-apt-repository ppa:ondrej/php -y
|
2022-03-09 05:39:15 +13:00
|
|
|
# Disable current PHP installation
|
2022-03-23 02:13:48 +13:00
|
|
|
RUN sudo a2dismod php7.4 mpm_prefork
|
2022-03-09 05:39:15 +13:00
|
|
|
|
2022-03-23 02:13:48 +13:00
|
|
|
# Install apache2 (PHP install requires to do this first) and php8.0
|
|
|
|
RUN sudo install-packages \
|
|
|
|
-o Dpkg::Options::="--force-confdef" \
|
|
|
|
-o Dpkg::Options::="--force-confold" \
|
|
|
|
apache2 php8.0
|
2022-03-09 05:39:15 +13:00
|
|
|
|