adrema/.docker/base.Dockerfile

15 lines
874 B
Docker
Raw Normal View History

2024-09-22 17:32:29 +02:00
FROM php:8.3.11-fpm as php
2023-08-15 16:42:15 +02:00
WORKDIR /app
2023-12-21 13:37:56 +01:00
RUN ls /app
2023-08-15 16:42:15 +02:00
RUN apt-get update
2024-11-13 14:35:54 +01:00
RUN apt-get install -y rsync libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev unzip poppler-utils libpng-dev libjpeg-dev default-mysql-client libzip-dev imagemagick libmagickwand-dev
2023-12-21 13:37:56 +01:00
RUN apt-get install -y --no-install-recommends texlive-base texlive-latex-base texlive-pictures texlive-latex-extra texlive-lang-german texlive-plain-generic texlive-fonts-recommended texlive-fonts-extra texlive-extra-utils
2024-11-13 14:35:54 +01:00
RUN docker-php-ext-install pdo_mysql curl exif intl mbstring pcntl zip
2023-08-15 16:42:15 +02:00
RUN pecl install redis && docker-php-ext-enable redis
2024-11-13 19:44:40 +01:00
RUN pecl install imagick && docker-php-ext-enable imagick
2024-01-28 18:12:17 +01:00
RUN docker-php-ext-configure gd --with-jpeg
2024-07-24 22:26:52 +02:00
RUN docker-php-ext-install gd
2023-08-15 16:42:15 +02:00
RUN usermod -s /bin/bash www-data
2024-01-28 21:53:54 +01:00
RUN echo 'memory_limit = 2G' >> /usr/local/etc/php/conf.d/99-custom-php-memlimit.ini
2023-08-15 16:42:15 +02:00