Async/Dockerfile

12 lines
444 B
Docker

FROM php:7.3-cli-buster
RUN apt-get update &&\
apt-get install --no-install-recommends --assume-yes --quiet procps ca-certificates curl git unzip &&\
rm -rf /var/lib/apt/lists/*
# Install Redis
RUN pecl install redis-5.1.1 && docker-php-ext-enable redis
RUN pecl install xdebug && docker-php-ext-enable xdebug
# Install Composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer