adrema/.docker/base.Dockerfile

13 lines
687 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-01-28 18:12:17 +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
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
2023-08-15 16:42:15 +02:00
RUN docker-php-ext-install pdo_mysql curl gd exif intl mbstring pcntl
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
RUN docker-php-ext-enable gd
2023-08-15 16:42:15 +02:00
RUN usermod -s /bin/bash www-data