File: app.dockerfile

Recommend this page to a friend!
  Classes of Paulo Henrique  >  Laravel Docker Starter  >  app.dockerfile  >  Download  
File: app.dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Docker Starter
Start a Laravel project using a Docker container
Author: By
Last change:
Date: 2 months ago
Size: 446 bytes
 

Contents

Class file image Download
FROM php:7.2.2-fpm

RUN apt-get update && apt-get install -y apt-utils mysql-client git vim openssl zip unzip git libmcrypt-dev libmagickwand-dev \
    && docker-php-ext-install pdo_mysql\
    && pecl install imagick mcrypt-1.0.1 \
    && docker-php-ext-enable imagick mcrypt

RUN groupadd dev -g 999
RUN useradd dev -g dev -d /home/dev -m

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

For more information send a message to info at phpclasses dot org.