Files
MageSail/docker/integration/Dockerfile
T
snxraven 84e6b340b5
CI / php (push) Successful in 1m2s
CI / Tier 2 — Magento + nginx + holesail (push) Failing after 2m46s
Update CI
2026-04-01 21:13:37 -05:00

46 lines
1.3 KiB
Docker

# Ubuntu + Ondřej Surý PHP PPA (prebuilt php8.2-* packages, no PECL / docker-php-ext compile).
# https://launchpad.net/~ondrej/+archive/ubuntu/php
# Plus nginx (MageSail `nginx -t`), Node.js LTS + npm (holesail), Composer.
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
gnupg \
software-properties-common \
&& add-apt-repository -y ppa:ondrej/php \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
nginx \
git \
unzip \
php8.2-cli \
php8.2-common \
php8.2-bcmath \
php8.2-curl \
php8.2-gd \
php8.2-intl \
php8.2-mbstring \
php8.2-mysql \
php8.2-opcache \
php8.2-readline \
php8.2-redis \
php8.2-soap \
php8.2-sockets \
php8.2-xml \
php8.2-xsl \
php8.2-zip \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \
&& update-alternatives --install /usr/bin/php php /usr/bin/php8.2 100 \
&& rm -rf /var/lib/apt/lists/*
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
WORKDIR /workspace
RUN usermod -aG www-data root 2>/dev/null || true