Edit CI/CD

This commit is contained in:
Mathieu Lagace
2019-08-04 17:40:34 -04:00
parent 54d57c7b13
commit 76c60d512f
2 changed files with 33 additions and 36 deletions

23
Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
# 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 autoconf libc-dev pkg-config
# 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 pdo_mysql zip
RUN pecl install mcrypt-1.0.1
# 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"