xssbook2/build/php/Dockerfile

4 lines
163 B
Docker

FROM php:fpm-alpine
RUN apk add --no-cache postgresql-dev
RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql
RUN docker-php-ext-install pdo pdo_pgsql