some docker build tweaks
Signed-off-by: Evan Mattiza <emattiza@gmail.com>
This commit is contained in:
parent
f8af73bce9
commit
6cdf77fec4
1 changed files with 10 additions and 10 deletions
20
.gitpod.Dockerfile
vendored
20
.gitpod.Dockerfile
vendored
|
@ -1,13 +1,13 @@
|
||||||
FROM gitpod/workspace-full
|
FROM gitpod/workspace-full
|
||||||
|
|
||||||
# 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 update
|
||||||
RUN sudo apt --yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install php8.0
|
RUN sudo add-apt-repository ppa:ondrej/php -y
|
||||||
|
# Disable current PHP installation
|
||||||
|
RUN sudo a2dismod php7.4 mpm_prefork
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue