/[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.3 by sysadm, Sat Jan 10 06:50:42 2026 UTC Revision 1.4 by sysadm, Thu Jan 22 12:58:46 2026 UTC
# Line 4  FROM php:8.4-fpm Line 4  FROM php:8.4-fpm
4  # Install 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 \          libfreetype-dev libjpeg62-turbo-dev libpng-dev \
7            libcurl4-openssl-dev libxml2-dev \
8          && docker-php-ext-configure gd --with-freetype --with-jpeg \          && docker-php-ext-configure gd --with-freetype --with-jpeg \
9          && docker-php-ext-install -j$(nproc) gd mysqli \          && docker-php-ext-install -j$(nproc) gd mysqli \
10          && rm -rf /var/lib/apt/lists/*          && rm -rf /var/lib/apt/lists/*
# Line 14  COPY ./Dockerfile/php.ini /usr/local/etc Line 15  COPY ./Dockerfile/php.ini /usr/local/etc
15  # Set ownership to www-data user and group  # Set ownership to www-data user and group
16  RUN mkdir -p /var/lib/php/sessions \  RUN mkdir -p /var/lib/php/sessions \
17          && chown -R www-data:www-data /var/lib/php/sessions          && chown -R www-data:www-data /var/lib/php/sessions
18    
19    # Install the solr extension via PECL
20    RUN pecl install solr \
21            && docker-php-ext-enable solr


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

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