File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,17 @@ FROM php:8.0-fpm-bullseye
33WORKDIR /var/www/html
44
55# Install base packages and repositories
6+ RUN apt-get update \
7+ && apt-get install -y gnupg mariadb-client libicu-dev libpq-dev libzip-dev postgresql-client unzip wget zip zlib1g-dev gnupg2
8+
9+ # Install ansible
610RUN echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu focal main" > /etc/apt/sources.list.d/ansible.list
711RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
812RUN apt-get update \
9- && apt-get install -y gnupg mariadb-client libicu-dev libpq-dev libzip-dev postgresql-client unzip wget zip zlib1g-dev ansible ansible-core ansible-lint
13+ && apt-get install -y ansible ansible-core ansible-lint
1014
15+ # Install php packages and configure php.ini
1116RUN echo 'memory_limit=256M' > /usr/local/etc/php/conf.d/memory-limit.ini
12-
13- # Install php packages
1417RUN docker-php-ext-install intl opcache pdo_mysql pdo_pgsql zip
1518RUN pecl install pcov xdebug \
1619 && docker-php-ext-enable pcov xdebug
@@ -25,4 +28,4 @@ RUN sh install_composer.sh \
2528
2629RUN wget https://github.com/fabpot/local-php-security-checker/releases/download/v1.2.0/local-php-security-checker_1.2.0_linux_amd64 \
2730 && chmod +x local-php-security-checker_1.2.0_linux_amd64 \
28- && mv local-php-security-checker_1.2.0_linux_amd64 /usr/local/bin/local-php-security-checker
31+ && mv local-php-security-checker_1.2.0_linux_amd64 /usr/local/bin/local-php-security-checker
You can’t perform that action at this time.
0 commit comments