Last active
December 2, 2025 12:06
-
-
Save aquarion/1542f7e681f5819454dd31f4ac92090c to your computer and use it in GitHub Desktop.
Miscweb Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM php:8.4-apache | |
| RUN apt-get update && apt-get install -y \ | |
| libfreetype6-dev \ | |
| libjpeg62-turbo-dev \ | |
| libpng-dev \ | |
| libzip-dev \ | |
| ca-certificates \ | |
| libicu-dev \ | |
| htmldoc \ | |
| libxml2-dev \ | |
| graphicsmagick graphicsmagick-imagemagick-compat \ | |
| libmagickwand-dev \ | |
| && docker-php-ext-install -j$(nproc) iconv mysqli pdo_mysql pdo sockets zip soap intl exif \ | |
| && docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \ | |
| && docker-php-ext-install -j$(nproc) gd \ | |
| && docker-php-ext-enable pdo_mysql pdo \ | |
| && docker-php-ext-enable zip \ | |
| && pecl install redis && docker-php-ext-enable redis \ | |
| && pecl install imagick && docker-php-ext-enable imagick | |
| RUN pear install net_smtp mail | |
| RUN a2enmod rewrite | |
| RUN a2enmod headers | |
| RUN a2enmod remoteip | |
| RUN a2enmod deflate | |
| RUN a2enmod vhost_alias | |
| COPY config/apache.conf /etc/apache2/conf-enabled/ | |
| COPY config/php.ini /usr/local/etc/php/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment