adrema/.docker/base.Dockerfile

14 lines
785 B
Docker
Raw Normal View History

2023-08-15 16:42:15 +02:00
FROM php:8.1.6-fpm as php
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-07-24 22:26:52 +02: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
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-07-24 22:26:52 +02: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-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