PHP 8.3 FPM with some extensions + nodejs, yarn and composer preinstalled
2.8K
FROM phpdockerio/php:8.3-fpm
# Install dependencies
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
apt-utils \
build-essential \
git \
openssh-client \
rsync \
software-properties-common \
php8.3-pgsql \
php8.3-mbstring \
php8.3-gd \
php8.3-soap \
php8.3-simplexml \
php8.3-amqp \
php8.3-xdebug \
php8.3-intl \
php8.3-redis \
php8.3-gmp \
php8.3-imagick \
ghostscript \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
# Setup SSH agent
RUN eval $(ssh-agent -s)
# Install Node.js 23 and Yarn
RUN apt-get update \
&& apt-get install -y curl \
&& curl -fsSL https://deb.nodesource.com/setup_23.x -o nodesource_setup.sh \
&& bash nodesource_setup.sh \
&& apt-get install -y nodejs \
&& corepack enable \
&& corepack prepare yarn@stable --activate \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* nodesource_setup.sh
# Install Composer
RUN curl -sS https://getcomposer.org/installer | php \
&& mv composer.phar /usr/local/bin/composer \
&& chmod +x /usr/local/bin/composer
# Set working directory
WORKDIR /application
Content type
Image
Digest
sha256:62f9e7de9…
Size
290.8 MB
Last updated
over 1 year ago
docker pull spintek/php83