diff --git a/podman/php-prod/Containerfile b/podman/php-prod/Containerfile index 5813e06..683a508 100644 --- a/podman/php-prod/Containerfile +++ b/podman/php-prod/Containerfile @@ -16,6 +16,7 @@ RUN composer install \ FROM docker.io/library/php:8.4-fpm AS runtime RUN apt-get update && apt-get install -y --no-install-recommends \ + curl \ libzip-dev \ libicu-dev \ libsodium-dev \ @@ -29,6 +30,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && apt-get purge -y --auto-remove \ && rm -rf /var/lib/apt/lists/* +# Node.js und Yarn +RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - \ + && apt-get install -y nodejs \ + && corepack enable yarn \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + COPY podman/php-prod/conf.d/ /usr/local/etc/php/conf.d/ WORKDIR /var/www/html diff --git a/podman/php/Containerfile b/podman/php/Containerfile index 2dd18ef..807dbfb 100644 --- a/podman/php/Containerfile +++ b/podman/php/Containerfile @@ -23,6 +23,13 @@ RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | b && apt-get clean \ && rm -rf /var/lib/apt/lists/* +# Node.js und Yarn +RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - \ + && apt-get install -y nodejs \ + && corepack enable yarn \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + COPY --from=docker.io/library/composer:2 /usr/bin/composer /usr/bin/composer COPY podman/php/conf.d/ /usr/local/etc/php/conf.d/