Skip to content

Instantly share code, notes, and snippets.

@ktquez
Forked from ben-albon/php5.6-pgsql.Dockerfile
Created October 11, 2016 07:03
Show Gist options
  • Save ktquez/1ec5962f170710f61667670f11560b99 to your computer and use it in GitHub Desktop.
Save ktquez/1ec5962f170710f61667670f11560b99 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