From 0bc492322779ee968017dbf0b531704f771dbc89 Mon Sep 17 00:00:00 2001 From: Gato Date: Sat, 6 Jun 2026 23:15:58 +0200 Subject: [PATCH] =?UTF-8?q?fix(ci):=20remplacer=20node:24-slim=20par=20nod?= =?UTF-8?q?e:24=20dans=20Dockerfile.test=20=E2=80=94=20v0.0.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit node:24-slim est trop minimal pour lancer Chromium headless (libs système manquantes). L'image complète node:24 inclut toutes les dépendances requises. --- Dockerfile.test | 33 +-------------------------------- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 35 deletions(-) diff --git a/Dockerfile.test b/Dockerfile.test index fc45a81..61e12e8 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -1,38 +1,7 @@ -FROM node:24-slim +FROM node:24 RUN apt-get update && apt-get install -y \ chromium \ - fonts-liberation \ - libappindicator3-1 \ - libasound2 \ - libatk-bridge2.0-0 \ - libatk1.0-0 \ - libcairo2 \ - libcups2 \ - libdbus-1-3 \ - libexpat1 \ - libfontconfig1 \ - libgbm1 \ - libglib2.0-0 \ - libgtk-3-0 \ - libnspr4 \ - libnss3 \ - libpango-1.0-0 \ - libpangocairo-1.0-0 \ - libx11-6 \ - libx11-xcb1 \ - libxcb1 \ - libxcomposite1 \ - libxcursor1 \ - libxdamage1 \ - libxext6 \ - libxfixes3 \ - libxi6 \ - libxrandr2 \ - libxrender1 \ - libxss1 \ - libxtst6 \ - xdg-utils \ --no-install-recommends \ && rm -rf /var/lib/apt/lists/* diff --git a/package-lock.json b/package-lock.json index cb9d7ae..11104b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "olhar-pwa", - "version": "0.0.3", + "version": "0.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "olhar-pwa", - "version": "0.0.3", + "version": "0.0.4", "dependencies": { "@angular/common": "^19.2.0", "@angular/compiler": "^19.2.0", diff --git a/package.json b/package.json index f8bf172..59d2c41 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "olhar-pwa", - "version": "0.0.3", + "version": "0.0.4", "scripts": { "ng": "ng", "start": "ng serve",