Update dependencies

Composer: Laravel 13.43, Octane 2.25, Fortify 1.43 and Pest 5.3.7,
with the packages they bring (70 in all). This fixes the advisories
in Laravel and the Symfony components. npm: Vite 8.3.8 with Rolldown
1.2.19, Playwright 1.65.1 and chokidar 6. The asset build, CI and the
dev container use Node.js 26. The dev image also has git for
Composer. Both audits are clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 06:45:31 +01:00
co-authored by Claude Opus 5.5
parent cf73052e0e
commit 5679e62c78
41 changed files with 1432 additions and 1226 deletions
+8 -3
View File
@@ -25,7 +25,7 @@ RUN composer dump-autoload --optimize --no-dev
# ============================================
# After Composer: the stylesheet and script import Livewire Material from vendor/. On the build
# machine's platform too: the output is CSS and JavaScript, whatever the target.
FROM --platform=$BUILDPLATFORM node:24-alpine AS assets
FROM --platform=$BUILDPLATFORM node:26-alpine AS assets
WORKDIR /app
@@ -63,8 +63,13 @@ FROM base AS dev
# images need gd (the app itself never processes images, so production goes without)
RUN install-php-extensions sockets gd
# Node.js for the Vite dev server
RUN apk add --no-cache nodejs npm
# Node.js for the Vite dev server: the same major as the asset build, which Alpine does not package.
# git for Composer: Livewire Material comes from a git repository.
RUN apk add --no-cache libstdc++ git
COPY --from=node:26-alpine /usr/local/bin/node /usr/local/bin/node
COPY --from=node:26-alpine /usr/local/lib/node_modules/npm /usr/local/lib/node_modules/npm
RUN ln -s ../lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm \
&& ln -s ../lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx
# Composer: the entrypoint installs the packages on every start
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer