From 1b94b8db658a5dfeb88a094761e91f14c11f5fb1 Mon Sep 17 00:00:00 2001 From: Firq <firelp42@gmail.com> Date: Mon, 21 Oct 2024 22:46:21 +0200 Subject: [PATCH 01/10] Bumped Unlghthouse --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 002eaa8..5f1bffa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,11 @@ LABEL description="unlighthouse container for ci-based lighthouse testing" WORKDIR /unlighthouse # renovate: datasource=repology depName=debian_12/chromium versioning=loose -ENV CHROMIUM_VERSION="126.0.6478.114-1~deb12u1" +ENV CHROMIUM_VERSION="130.0.6723.58-1~deb12u1" ENV NODE_ENV='production' # Update path so executable can be run globally ENV PATH="/unlighthouse/node_modules/.bin:${PATH}" RUN apt-get update && apt-get -y install --no-install-recommends chromium=${CHROMIUM_VERSION} procps && rm -rf /var/lib/apt/lists/* -RUN npm install @unlighthouse/cli@0.13.1 puppeteer +RUN npm install @unlighthouse/cli@0.14.0 puppeteer From e4f8a7a0705637caff50c0a5326fa8b488d19641 Mon Sep 17 00:00:00 2001 From: Firq <firelp42@gmail.com> Date: Thu, 6 Feb 2025 19:42:00 +0100 Subject: [PATCH 02/10] ner version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5f1bffa..e8b3bbf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,11 @@ LABEL description="unlighthouse container for ci-based lighthouse testing" WORKDIR /unlighthouse # renovate: datasource=repology depName=debian_12/chromium versioning=loose -ENV CHROMIUM_VERSION="130.0.6723.58-1~deb12u1" +ENV CHROMIUM_VERSION="132.0.6834.159-1~deb12u1" ENV NODE_ENV='production' # Update path so executable can be run globally ENV PATH="/unlighthouse/node_modules/.bin:${PATH}" RUN apt-get update && apt-get -y install --no-install-recommends chromium=${CHROMIUM_VERSION} procps && rm -rf /var/lib/apt/lists/* -RUN npm install @unlighthouse/cli@0.14.0 puppeteer +RUN npm install @unlighthouse/cli@0.15.0 puppeteer From 5c496fe840105a60bfba9786607586be9a4eeb6a Mon Sep 17 00:00:00 2001 From: Firq <firelp42@gmail.com> Date: Thu, 6 Feb 2025 19:54:37 +0100 Subject: [PATCH 03/10] Bumped ver --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e8b3bbf..7de97de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.14.0-bookworm +FROM node:22.13.1-bookworm LABEL authorname="firq" LABEL description="unlighthouse container for ci-based lighthouse testing" From 6690ec7bee35de6939c1fffd903dfc110572d54c Mon Sep 17 00:00:00 2001 From: Firq <firelp42@gmail.com> Date: Thu, 6 Feb 2025 20:00:58 +0100 Subject: [PATCH 04/10] Bumped ver 2 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7de97de..cc23c21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ LABEL description="unlighthouse container for ci-based lighthouse testing" WORKDIR /unlighthouse # renovate: datasource=repology depName=debian_12/chromium versioning=loose -ENV CHROMIUM_VERSION="132.0.6834.159-1~deb12u1" +ENV CHROMIUM_VERSION="131.0.6778.139-1~deb12u1" ENV NODE_ENV='production' # Update path so executable can be run globally From 2feec92c1aeac20d2142401a6fe8698463de3b0e Mon Sep 17 00:00:00 2001 From: Firq <firelp42@gmail.com> Date: Thu, 6 Feb 2025 20:06:54 +0100 Subject: [PATCH 05/10] gitlab parity --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index cc23c21..d8470bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ -FROM node:22.13.1-bookworm +FROM node:22.13.1-bookworm-slim@sha256:d6d1b3a6f21a25e43d765816281b4a86e5f1ebf843cfae1b14dd0f1c28257cc7 LABEL authorname="firq" LABEL description="unlighthouse container for ci-based lighthouse testing" WORKDIR /unlighthouse -# renovate: datasource=repology depName=debian_12/chromium versioning=loose -ENV CHROMIUM_VERSION="131.0.6778.139-1~deb12u1" +ENV CHROMIUM_VERSION="132.0.6834.159-1~deb12u1" ENV NODE_ENV='production' # Update path so executable can be run globally From 6850cd9cdd0809096352007348d750634a06d85d Mon Sep 17 00:00:00 2001 From: Firq <firelp42@gmail.com> Date: Thu, 6 Feb 2025 20:14:19 +0100 Subject: [PATCH 06/10] fix ver --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d8470bd..5716327 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM node:22.13.1-bookworm-slim@sha256:d6d1b3a6f21a25e43d765816281b4a86e5f1ebf843cfae1b14dd0f1c28257cc7 +FROM node:22.13.1-bookworm-slim LABEL authorname="firq" LABEL description="unlighthouse container for ci-based lighthouse testing" WORKDIR /unlighthouse -ENV CHROMIUM_VERSION="132.0.6834.159-1~deb12u1" +ENV CHROMIUM_VERSION="133.0.6943.53-1~deb12u1" ENV NODE_ENV='production' # Update path so executable can be run globally From 0146c9764c033f0e05694147f5a834c7b64de173 Mon Sep 17 00:00:00 2001 From: Firq <firelp42@gmail.com> Date: Thu, 6 Feb 2025 20:28:47 +0100 Subject: [PATCH 07/10] fix ver --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5716327..4aad201 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22.13.1-bookworm-slim +FROM node:22.13.1-bookworm LABEL authorname="firq" LABEL description="unlighthouse container for ci-based lighthouse testing" From ccd52271be6bf53df24b4a3d66e1d7e4c1cea290 Mon Sep 17 00:00:00 2001 From: Firq <me@firq.dev> Date: Fri, 11 Apr 2025 23:48:18 +0200 Subject: [PATCH 08/10] updated unlighthouse --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4aad201..6478e3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ -FROM node:22.13.1-bookworm +FROM node:22.14-bookworm LABEL authorname="firq" LABEL description="unlighthouse container for ci-based lighthouse testing" WORKDIR /unlighthouse -ENV CHROMIUM_VERSION="133.0.6943.53-1~deb12u1" +ENV CHROMIUM_VERSION="135.0.7049.84-1~deb12u1" ENV NODE_ENV='production' # Update path so executable can be run globally ENV PATH="/unlighthouse/node_modules/.bin:${PATH}" RUN apt-get update && apt-get -y install --no-install-recommends chromium=${CHROMIUM_VERSION} procps && rm -rf /var/lib/apt/lists/* -RUN npm install @unlighthouse/cli@0.15.0 puppeteer +RUN npm install @unlighthouse/cli@0.16.3 puppeteer From a1417fb2145f5ffbae4c5a52557db021b185b831 Mon Sep 17 00:00:00 2001 From: Firq <me@firq.dev> Date: Fri, 11 Apr 2025 23:51:18 +0200 Subject: [PATCH 09/10] Improved dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6478e3d..198e4f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,11 @@ LABEL description="unlighthouse container for ci-based lighthouse testing" WORKDIR /unlighthouse ENV CHROMIUM_VERSION="135.0.7049.84-1~deb12u1" +ENV UNLIGHTHOUSE_VERSION="0.16.3" ENV NODE_ENV='production' # Update path so executable can be run globally ENV PATH="/unlighthouse/node_modules/.bin:${PATH}" RUN apt-get update && apt-get -y install --no-install-recommends chromium=${CHROMIUM_VERSION} procps && rm -rf /var/lib/apt/lists/* -RUN npm install @unlighthouse/cli@0.16.3 puppeteer +RUN npm install @unlighthouse/cli@${UNLIGHTHOUSE_VERSION} puppeteer From e1dff357b296a132f80595a90991c7d80154e288 Mon Sep 17 00:00:00 2001 From: Firq <me@firq.dev> Date: Wed, 16 Apr 2025 21:45:48 +0200 Subject: [PATCH 10/10] Puppeteer no chrome dl --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 198e4f5..f1c8e7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,11 @@ WORKDIR /unlighthouse ENV CHROMIUM_VERSION="135.0.7049.84-1~deb12u1" ENV UNLIGHTHOUSE_VERSION="0.16.3" + +# Skip puppeteer executable download +ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true +ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium + ENV NODE_ENV='production' # Update path so executable can be run globally