Skip to content

Instantly share code, notes, and snippets.

@kostapc
Forked from kovagoz/Dockerfile
Created March 22, 2017 09:32
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 kostapc/2e525c77f6eceff53ae02f51969301a3 to your computer and use it in GitHub Desktop.
Save kostapc/2e525c77f6eceff53ae02f51969301a3 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