From 3bb1f6ce6f6a0a99795d0e01b226290ce994ce17 Mon Sep 17 00:00:00 2001 From: pablojmarti Date: Mon, 9 Mar 2026 11:26:06 -0400 Subject: [PATCH 01/13] update nvm version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4e2737a..de5a87e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -104,7 +104,7 @@ RUN if [ ! -z "$(php --version | grep ^PHP | awk '{print $2}' | grep -v ^7 | gre ENV NVM_DIR /tmp/.nvm RUN mkdir ${NVM_DIR} -RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash +RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash # Workaround - Cypress installation ENV CYPRESS_CACHE_FOLDER /tmp/cypress/cache From ce6b09fcb70770b218dabd319b5190686fe47794 Mon Sep 17 00:00:00 2001 From: pablojmarti Date: Mon, 9 Mar 2026 11:35:13 -0400 Subject: [PATCH 02/13] Updates Dockerfile to install nvm versions 16 to 22 --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index de5a87e..b1a8480 100644 --- a/Dockerfile +++ b/Dockerfile @@ -112,7 +112,11 @@ RUN mkdir -p ${CYPRESS_CACHE_FOLDER} && chmod 777 ${CYPRESS_CACHE_FOLDER} ARG NODE_VERSION=16 COPY build/install-node.sh /tmp/install-node.sh -RUN chmod +x /tmp/install-node.sh && /tmp/install-node.sh "${NODE_VERSION}" +RUN chmod +x /tmp/install-node.sh && /tmp/install-node.sh "${NODE_VERSION}" && \ + ./tmp/install-node.sh "18" && \ + ./tmp/install-node.sh "20" && \ + ./tmp/install-node.sh "22" && \ + COPY .bowerrc /root/.bowerrc ## Compass ## From caecccb11a7de9b79c6ecc54e36723bf9180e286 Mon Sep 17 00:00:00 2001 From: pablojmarti Date: Mon, 9 Mar 2026 14:42:45 -0400 Subject: [PATCH 03/13] Fix typo --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9271b7d..fe479e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -115,7 +115,7 @@ COPY build/install-node.sh /tmp/install-node.sh RUN chmod +x /tmp/install-node.sh && /tmp/install-node.sh "${NODE_VERSION}" && \ ./tmp/install-node.sh "18" && \ ./tmp/install-node.sh "20" && \ - ./tmp/install-node.sh "22" && \ + ./tmp/install-node.sh "22" COPY .bowerrc /root/.bowerrc From e66844fc946d88684c849d1852be4f48758e861a Mon Sep 17 00:00:00 2001 From: pablojmarti Date: Mon, 9 Mar 2026 14:59:13 -0400 Subject: [PATCH 04/13] Revert "Merge pull request #27 from 10up/dependabot/pip/pip-67a51a1997" This reverts commit 22c95b17c8f4b027872a3f43a44e49eb548fbf64, reversing changes made to 7990e1402234951b0a9b1a3f781f05e17ef5d883. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a747fa9..6409fb7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,5 +6,5 @@ yq python-gitlab awesome-codename cryptography -ansible-core==2.17.6 +ansible-core==2.11.12 dnspython From 4984c25db7ac05a6beb0b4f73eab476e6aa00e3c Mon Sep 17 00:00:00 2001 From: pablojmarti Date: Tue, 10 Mar 2026 09:36:59 -0400 Subject: [PATCH 05/13] update minor ver for nvm install --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fe479e7..4a0821f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -104,7 +104,7 @@ RUN if [ ! -z "$(php --version | grep ^PHP | awk '{print $2}' | grep -v ^7 | gre ENV NVM_DIR /tmp/.nvm RUN mkdir ${NVM_DIR} -RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash +RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | bash # Workaround - Cypress installation ENV CYPRESS_CACHE_FOLDER /tmp/cypress/cache From 94e81e70f428cb08a53e2091e40834ee924fd953 Mon Sep 17 00:00:00 2001 From: pablojmarti Date: Tue, 10 Mar 2026 09:43:10 -0400 Subject: [PATCH 06/13] remove npm package install --- build/install-node.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/build/install-node.sh b/build/install-node.sh index 6a26dc8..48dfbe1 100644 --- a/build/install-node.sh +++ b/build/install-node.sh @@ -21,18 +21,6 @@ echo "Building node environment for version ${NODE_VERSION}" nvm install "${NODE_VERSION}" -# Cypress version added since latest supports v18.x and above. Setting Cypress version to 13.1.0 according to cypress changelog for supporting node v16.x releases. -# Lighthouse breaking changes for [v11.x / latest](https://github.com/GoogleChrome/lighthouse/releases/tag/v11.0.0), release tag for Aug 4, 2023. Setting latest stable version for node 16 support. (~10.4) -npm install -g \ - grunt-cli \ - gulp-cli \ - bower \ - yarn \ - lighthouse@~10.4 \ - serverless \ - firebase-tools \ - cypress@~13.1 - npm cache clean --force echo "node ${NODE_VERSION} build completed..." From 6702e9cf9c0ca9958401c58f5c1f3304c0258ab4 Mon Sep 17 00:00:00 2001 From: pablojmarti Date: Tue, 10 Mar 2026 09:50:41 -0400 Subject: [PATCH 07/13] White space fix and readme updates --- Dockerfile | 1 - README.md | 12 +----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4a0821f..27c7bca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -120,7 +120,6 @@ RUN chmod +x /tmp/install-node.sh && /tmp/install-node.sh "${NODE_VERSION}" && \ COPY .bowerrc /root/.bowerrc ## Compass ## - RUN gem install compass ## Ansible, awscli, other Python tools ## diff --git a/README.md b/README.md index e870a8c..829a7cb 100644 --- a/README.md +++ b/README.md @@ -25,17 +25,7 @@ - terminus - yamllint -**npm packages installed:** -- grunt-cli -- gulp-cli -- bower -- yarn -- lighthouse -- serverless -- firebase-tools -- cypress - -Node and npm are managed by the `build/install-node.sh` script. +Node and npm are managed by the `build/install-node.sh` script. The following versions are supported by default: [16, 18, 20, 22] ## Customize Package and Tool Configurations From d8738eaf375f3ad59e991faf52c26967918e74a1 Mon Sep 17 00:00:00 2001 From: pablojmarti Date: Tue, 10 Mar 2026 13:12:58 -0400 Subject: [PATCH 08/13] Revert "remove npm package install" This reverts commit 94e81e70f428cb08a53e2091e40834ee924fd953. --- build/install-node.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build/install-node.sh b/build/install-node.sh index 48dfbe1..6a26dc8 100644 --- a/build/install-node.sh +++ b/build/install-node.sh @@ -21,6 +21,18 @@ echo "Building node environment for version ${NODE_VERSION}" nvm install "${NODE_VERSION}" +# Cypress version added since latest supports v18.x and above. Setting Cypress version to 13.1.0 according to cypress changelog for supporting node v16.x releases. +# Lighthouse breaking changes for [v11.x / latest](https://github.com/GoogleChrome/lighthouse/releases/tag/v11.0.0), release tag for Aug 4, 2023. Setting latest stable version for node 16 support. (~10.4) +npm install -g \ + grunt-cli \ + gulp-cli \ + bower \ + yarn \ + lighthouse@~10.4 \ + serverless \ + firebase-tools \ + cypress@~13.1 + npm cache clean --force echo "node ${NODE_VERSION} build completed..." From 57e0e1570d69e9c8f616262f8ab101ab13c97120 Mon Sep 17 00:00:00 2001 From: pablojmarti Date: Fri, 24 Apr 2026 08:37:14 -0400 Subject: [PATCH 09/13] Adds --lts install to dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 27c7bca..4d9be04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -115,7 +115,8 @@ COPY build/install-node.sh /tmp/install-node.sh RUN chmod +x /tmp/install-node.sh && /tmp/install-node.sh "${NODE_VERSION}" && \ ./tmp/install-node.sh "18" && \ ./tmp/install-node.sh "20" && \ - ./tmp/install-node.sh "22" + ./tmp/install-node.sh "22" && \ + ./tmp/install-node.sh --lts COPY .bowerrc /root/.bowerrc From 500a30120929118ccce7ea8ad9534dd3dd1f5827 Mon Sep 17 00:00:00 2001 From: pablojmarti Date: Fri, 24 Apr 2026 08:51:08 -0400 Subject: [PATCH 10/13] There is no nvm 40.5, not sure how that happened --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4d9be04..437cc11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -104,7 +104,7 @@ RUN if [ ! -z "$(php --version | grep ^PHP | awk '{print $2}' | grep -v ^7 | gre ENV NVM_DIR /tmp/.nvm RUN mkdir ${NVM_DIR} -RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | bash +RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash # Workaround - Cypress installation ENV CYPRESS_CACHE_FOLDER /tmp/cypress/cache From f8120fcdb2d79c4056c16d7599148a6c8d58be36 Mon Sep 17 00:00:00 2001 From: pablojmarti Date: Fri, 24 Apr 2026 09:36:25 -0400 Subject: [PATCH 11/13] Add quotes --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 437cc11..db0a11f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -116,7 +116,7 @@ RUN chmod +x /tmp/install-node.sh && /tmp/install-node.sh "${NODE_VERSION}" && \ ./tmp/install-node.sh "18" && \ ./tmp/install-node.sh "20" && \ ./tmp/install-node.sh "22" && \ - ./tmp/install-node.sh --lts + ./tmp/install-node.sh "--lts" COPY .bowerrc /root/.bowerrc From 12dc7c0ce5f1c8e1b3c1c0f6b376f4482dcd5aeb Mon Sep 17 00:00:00 2001 From: pablojmarti Date: Fri, 24 Apr 2026 12:54:00 -0400 Subject: [PATCH 12/13] Sets default to 18 and updates how we set the default alias --- Dockerfile | 3 +-- build/install-node.sh | 7 ++++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index db0a11f..39855d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -110,10 +110,9 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | b ENV CYPRESS_CACHE_FOLDER /tmp/cypress/cache RUN mkdir -p ${CYPRESS_CACHE_FOLDER} && chmod 777 ${CYPRESS_CACHE_FOLDER} -ARG NODE_VERSION=16 +ARG NODE_VERSION=18 COPY build/install-node.sh /tmp/install-node.sh RUN chmod +x /tmp/install-node.sh && /tmp/install-node.sh "${NODE_VERSION}" && \ - ./tmp/install-node.sh "18" && \ ./tmp/install-node.sh "20" && \ ./tmp/install-node.sh "22" && \ ./tmp/install-node.sh "--lts" diff --git a/build/install-node.sh b/build/install-node.sh index 6a26dc8..9b58aff 100644 --- a/build/install-node.sh +++ b/build/install-node.sh @@ -37,4 +37,9 @@ npm cache clean --force echo "node ${NODE_VERSION} build completed..." -nvm alias default ${NODE_VERSION} +if [[ "${NODE_VERSION}" =~ "lts" ]]; +then + nvm alias default 'lts/*' +else + nvm alias default "${NODE_VERSION}" +fi From 0dfcebcf6cabe9b7f23e636bea5066d07aa0fa80 Mon Sep 17 00:00:00 2001 From: pablojmarti Date: Tue, 9 Jun 2026 12:28:26 -0400 Subject: [PATCH 13/13] also install node 24 directly --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index b22edef..ed5f624 100644 --- a/Dockerfile +++ b/Dockerfile @@ -115,6 +115,7 @@ COPY build/install-node.sh /tmp/install-node.sh RUN chmod +x /tmp/install-node.sh && /tmp/install-node.sh "${NODE_VERSION}" && \ ./tmp/install-node.sh "20" && \ ./tmp/install-node.sh "22" && \ + ./tmp/install-node.sh "24" && \ ./tmp/install-node.sh "--lts" COPY .bowerrc /root/.bowerrc