1
0
Fork 0
mirror of synced 2024-09-30 09:18:14 +13:00

fix: PHP8 install workarounds

This commit is contained in:
Brandon 2022-03-08 10:33:08 -06:00
parent 23cacb0eb8
commit 1663653b0b

7
.gitpod.Dockerfile vendored
View file

@ -3,6 +3,9 @@ FROM gitpod/workspace-full
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
RUN sudo apt install software-properties-common && sudo add-apt-repository ppa:ondrej/php -y
RUN sudo a2dismod php7.4
RUN sudo a2dismod mpm_prefork
RUN sudo apt --yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install apache2
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-confnew" install php8.0
RUN sudo apt --yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install php8.0