Skip to content

Instantly share code, notes, and snippets.

@billyteves
Forked from kovagoz/Dockerfile
Created December 20, 2017 11:16
Show Gist options
  • Save billyteves/d24dcfa2905a4d85c227040c7e67c836 to your computer and use it in GitHub Desktop.
Save billyteves/d24dcfa2905a4d85c227040c7e67c836 to your computer and use it in GitHub Desktop.
Alpine Linux with PHP 5.6 FPM and Mongo module
FROM php:5.6-fpm-alpine
RUN apk update && apk add autoconf openssl-dev g++ make && \
pecl install mongo && \
docker-php-ext-enable mongo && \
apk del --purge autoconf openssl-dev g++ make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment