/[LeafOK_CVS]/fenglin/Dockerfile/dockerfile.php
ViewVC logotype

Diff of /fenglin/Dockerfile/dockerfile.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 by sysadm, Sun Jan 4 12:44:40 2026 UTC Revision 1.2 by sysadm, Tue Jan 6 01:21:56 2026 UTC
# Line 1  Line 1 
1  # Use an official PHP-FPM image (adjust version as needed)  # Use an official PHP-FPM image (adjust version as needed)
2  FROM php:8.4-fpm  FROM php:8.4-fpm
3    
4  # Example: Install common PHP extensions  # Install PHP extensions
5  RUN apt-get update && apt-get install -y \  RUN apt-get update && apt-get install -y \
6          libfreetype-dev libjpeg62-turbo-dev libpng-dev libxml2-dev \          libfreetype-dev libjpeg62-turbo-dev libpng-dev \
7          && docker-php-ext-configure gd --with-freetype --with-jpeg \          && docker-php-ext-configure gd --with-freetype --with-jpeg \
8          && docker-php-ext-install -j$(nproc) gd mysqli          && docker-php-ext-install -j$(nproc) gd mysqli \
9            && rm -rf /var/lib/apt/lists/*
10    
11  # Copy the custom configuration file  # Copy the custom configuration file
12  COPY ./Dockerfile/php.ini /usr/local/etc/php/php.ini  COPY ./Dockerfile/php.ini /usr/local/etc/php/php.ini


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1