FROM php:fpm
LABEL maintainer "Yuri Soffner <[email protected]>"
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y \
vim \
libcurl4-gnutls-dev \
libmcrypt-dev \
libicu-dev \
zlib1g-dev \
zip \
unzip \
&& docker-php-ext-install pdo_mysql \
iconv \
intl \
opcache \
mbstring \
curl \
zip
# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
# Install phpunit
RUN curl https://phar.phpunit.de/phpunit.phar -L > phpunit.phar \
&& chmod +x phpunit.phar \
&& mv phpunit.phar /usr/local/bin/phpunit \
&& phpunit --version
# Install cron
RUN apt-get update && apt-get -y install rsyslog && apt-get clean
# Change uid and gid of apache to docker user uid/gid
RUN usermod -u 1000 www-data && groupmod -g 1000 www-data
WORKDIR /var/www/html
Content type
Image
Digest
Size
191.7 MB
Last updated
over 8 years ago
docker pull ysoffner/laravel