Skip to content

Instantly share code, notes, and snippets.

@sany2k8
Forked from ben-albon/php5.6-pgsql.Dockerfile
Created March 14, 2017 18:12
Show Gist options
  • Save sany2k8/8986cd63258f8382fb107809e646e356 to your computer and use it in GitHub Desktop.
Save sany2k8/8986cd63258f8382fb107809e646e356 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