PHP Classes

File: docker/app/Dockerfile

Recommend this page to a friend!
  Classes of DeGraciaMathieu   PHP Function Arguments Detector   docker/app/Dockerfile   Download  
File: docker/app/Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Function Arguments Detector
Detect complex functions with too many arguments
Author: By
Last change:
Date: 1 year ago
Size: 758 bytes
 

Contents

Class file image Download
FROM php:8.1-fpm # Set working directory WORKDIR /var/www # Install system dependencies RUN apt-get update && apt-get install -y \ git \ curl \ libpng-dev \ libjpeg-dev \ libfreetype6-dev \ libonig-dev \ libxml2-dev \ libpq-dev \ libzip-dev \ libcurl4-openssl-dev \ zip \ unzip # Install PHP extensions RUN docker-php-ext-install mbstring exif pcntl bcmath gd zip curl # Install xdebug RUN pecl install xdebug-3.1.3 \ && docker-php-ext-enable xdebug # Get latest Composer RUN php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer # Clear cache RUN apt-get -y autoremove \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \