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

Contents of /fenglin/Dockerfile/dockerfile.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Sun Jan 4 12:44:40 2026 UTC (2 months, 1 week ago) by sysadm
Branch: MAIN
Add docker config files

1 # Use an official PHP-FPM image (adjust version as needed)
2 FROM php:8.4-fpm
3
4 # Example: Install common PHP extensions
5 RUN apt-get update && apt-get install -y \
6 libfreetype-dev libjpeg62-turbo-dev libpng-dev libxml2-dev \
7 && docker-php-ext-configure gd --with-freetype --with-jpeg \
8 && docker-php-ext-install -j$(nproc) gd mysqli
9
10 # Copy the custom configuration file
11 COPY ./Dockerfile/php.ini /usr/local/etc/php/php.ini
12
13 # Set ownership to www-data user and group
14 RUN mkdir -p /var/lib/php/sessions \
15 && chown -R www-data:www-data /var/lib/php/sessions
16
17 # Install PEAR Mail package
18 RUN pear install -a Mail

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