From 8a90c3317228afb9b03afbe7ac70f1a69cea01bf Mon Sep 17 00:00:00 2001 From: Brandon Date: Tue, 8 Mar 2022 10:39:15 -0600 Subject: [PATCH] chore: add comments for install and workarounds --- .gitpod.Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 7fe33beaf9..0b7d87b92f 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -1,11 +1,17 @@ FROM gitpod/workspace-full +# Install and configure Deno RUN curl -fsSL https://deno.land/x/install/install.sh | sh RUN /home/gitpod/.deno/bin/deno completions bash > /home/gitpod/.bashrc.d/90-deno && echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /home/gitpod/.bashrc.d/90-deno +# Disable current PHP installation RUN sudo a2dismod php7.4 RUN sudo a2dismod mpm_prefork + +# Install apache2 (PHP install requires to do this first) RUN sudo apt --yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install apache2 + +# Update to PHP 8.0 with unattended installation RUN sudo apt --yes install software-properties-common && sudo add-apt-repository ppa:ondrej/php -y RUN sudo apt update RUN sudo apt --yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install php8.0