Skip to content

Commit 32aad0d

Browse files
authored
feat: update php version to 8.4
1 parent 03c996e commit 32aad0d

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.2-fpm-bullseye
1+
FROM php:8.4-fpm-trixie
22

33
WORKDIR /var/www/html
44

@@ -7,7 +7,7 @@ RUN apt-get update \
77
&& apt-get install -y git gnupg mariadb-client libicu-dev libfreetype6-dev libjpeg-dev libpng-dev libpq-dev libzip-dev postgresql-client unzip wget zip zlib1g-dev gnupg2 rsync
88

99
# Install ansible
10-
RUN echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu focal main" > /etc/apt/sources.list.d/ansible.list
10+
RUN echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu noble main" > /etc/apt/sources.list.d/ansible.list
1111
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
1212
RUN apt-get update \
1313
&& apt-get install -y ansible ansible-core ansible-lint
@@ -27,10 +27,6 @@ COPY install_composer.sh install_composer.sh
2727
RUN sh install_composer.sh \
2828
&& mv composer.phar /usr/local/bin/composer
2929

30-
RUN wget https://github.com/fabpot/local-php-security-checker/releases/download/v2.0.6/local-php-security-checker_2.0.6_linux_amd64 \
31-
&& chmod +x local-php-security-checker_2.0.6_linux_amd64 \
32-
&& mv local-php-security-checker_2.0.6_linux_amd64 /usr/local/bin/local-php-security-checker
33-
3430
# Ansistrano roles for deployment
3531
RUN ansible-galaxy install ansistrano.deploy ansistrano.rollback
3632

0 commit comments

Comments
 (0)