PHP Classes

File: docker/php/Dockerfile

Recommend this page to a friend!
  Classes of Nahidul Hasan  >  Laravel Docker Kubernetes  >  docker/php/Dockerfile  >  Download  
File: docker/php/Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Docker Kubernetes
Run a Laravel project using Docker and Kubernetes
Author: By
Last change:
Date: 6 months ago
Size: 498 bytes
 

Contents

Class file image Download
FROM php:7.1.3-fpm

RUN apt-get update && apt-get install zlib1g-dev -y \
        libmcrypt-dev \
        libpq-dev \
        libjpeg-dev \
        libpng-dev \
        supervisor \
        git zip \
    && docker-php-ext-install -j$(nproc) mcrypt \
    && docker-php-ext-install -j$(nproc) pdo \
    && docker-php-ext-install -j$(nproc) pdo_pgsql \
    && docker-php-ext-install -j$(nproc) gd


RUN curl -sS https://getcomposer.org/installer | \
php -- --install-dir=/usr/bin/ --filename=composer
For more information send a message to info at phpclasses dot org.