Add docker/8.3-apache/Dockerfile
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
colin 2024-08-19 19:47:37 -04:00
parent 4876876777
commit 227285e1b1
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
FROM php:8.3-apache
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
libzip-dev \
zlib1g-dev \
vim \
libicu-dev \
fcgiwrap \
mariadb-client \
ca-certificates \
curl \
git && \
rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-configure intl && \
docker-php-ext-install intl && \
docker-php-ext-configure gd --with-freetype --with-jpeg && \
docker-php-ext-install -j$(nproc) gd && \
docker-php-ext-install mysqli zip pdo_mysql bcmath && \
docker-php-ext-install opcache
RUN docker-php-ext-configure intl && \
docker-php-ext-install intl && \
docker-php-ext-configure gd --with-freetype --with-jpeg && \
docker-php-ext-install -j$(nproc) gd && \
docker-php-ext-install mysqli zip pdo_mysql bcmath && \
docker-php-ext-install opcache
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=compo
RUN mkdir /var/www/sessions && \
chmod 777 /var/www/sessions
RUN a2enmod rewrite