Files
ednotif-bundle/docker/php/Dockerfile

26 lines
694 B
Docker

ARG DOCKER_PHP_VERSION
FROM php:${DOCKER_PHP_VERSION}-fpm-bullseye
# Install system dependencies
RUN apt-get update && apt-get install -y \
git \
unzip \
libzip-dev \
libxml2-dev \
&& pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& docker-php-ext-install zip \
&& docker-php-ext-install soap \
&& docker-php-ext-install dom
# Install Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
# install Symfony Flex in the CI environment
RUN composer global config --no-plugins allow-plugins.symfony/flex true
RUN composer global require --no-progress --no-scripts --no-plugins symfony/flex
# Set working directory
WORKDIR /app