Created
April 10, 2024 16:48
-
-
Save nicholascourage/cab0679a647f787371bdba457774e687 to your computer and use it in GitHub Desktop.
This file contains 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.3-fpm | |
WORKDIR /var/www/html | |
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ | |
RUN chmod +x /usr/local/bin/install-php-extensions | |
RUN apt update \ | |
&& apt install -y \ | |
zlib1g-dev \ | |
g++ \ | |
git \ | |
libicu-dev \ | |
zip \ | |
libzip-dev \ | |
zip iputils-ping \ | |
libaio1 \ | |
libaio-dev \ | |
wget \ | |
curl \ | |
redis | |
RUN install-php-extensions xsl opcache imap sockets apcu mysqli pdo_mysql zip xml soap curl mbstring openssl fileinfo http exif gd redis | |
# Install Composer | |
RUN curl -S https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ | |
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
RUN chown -R www-data:www-data /var/www/html | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment