diff --git a/Dockerfile b/Dockerfile index 8f6d2797..3e071b51 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,17 @@ FROM php:8.1-cli -RUN apt-get update \ - && apt-get install -y \ - libzip-dev \ - unzip \ - git \ - wget \ - && docker-php-ext-install -j$(nproc) bcmath sockets \ - && wget https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 \ - && mv test-reporter-latest-linux-amd64 /usr/bin/cc-test-reporter \ - && chmod +x /usr/bin/cc-test-reporter \ - && pecl install xdebug \ - && docker-php-ext-enable xdebug && \ - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer +RUN apt-get update +RUN apt-get install -y \ + libzip-dev \ + unzip \ + git \ + wget +RUN docker-php-ext-install -j$(nproc) bcmath sockets +RUN wget https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 +RUN mv test-reporter-latest-linux-amd64 /usr/bin/cc-test-reporter +RUN chmod +x /usr/bin/cc-test-reporter +RUN pecl install xdebug +RUN docker-php-ext-enable xdebug +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer WORKDIR /opt/project