21 lines
661 B
YAML
21 lines
661 B
YAML
FROM php:7.4
|
|
|
|
# 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=~1.0"
|