Skip to content

Instantly share code, notes, and snippets.

@DanNYSPD
Forked from ben-albon/php5.6-pgsql.Dockerfile
Created October 31, 2020 06:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanNYSPD/132a148e4cf9b3c8b899c9ed76a9d8d6 to your computer and use it in GitHub Desktop.
Save DanNYSPD/132a148e4cf9b3c8b899c9ed76a9d8d6 to your computer and use it in GitHub Desktop.
Docker PHP Image with PostgreSQL Driver
FROM php:5.6-apache
RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-install pdo pdo_pgsql
COPY src/ /var/www/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment