FROM phpdockerio/php:8.2-fpm WORKDIR "/docker" RUN apt-get update; \ apt-get -y --no-install-recommends install \ php8.2-pgsql; \ apt-get clean; \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*