From 54d57c7b1347e8b84e0f3a6db2c18d15e8ea67c8 Mon Sep 17 00:00:00 2001 From: Mathieu Lagace Date: Sun, 4 Aug 2019 17:19:53 -0400 Subject: [PATCH] Add Docker --- DockerFile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 DockerFile diff --git a/DockerFile b/DockerFile new file mode 100644 index 00000000..b2098688 --- /dev/null +++ b/DockerFile @@ -0,0 +1,21 @@ +# Set the base image for subsequent instructions +FROM php:7.2 + +# Update packages +RUN apt-get update + +# Install PHP and composer dependencies +RUN apt-get install -qq git curl libmcrypt-dev libjpeg-dev libpng-dev libfreetype6-dev libbz2-dev + +# Clear out the local repository of retrieved package files +RUN apt-get clean + +# Install needed extensions +# Here you can install any other extension that you need during the test and deployment process +RUN docker-php-ext-install mcrypt pdo_mysql zip + +# Install Composer +RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer + +# Install Laravel Envoy +RUN composer global require "laravel/envoy" \ No newline at end of file