From 4bdeeb5048f8112aa116273ccfebbc8807aac514 Mon Sep 17 00:00:00 2001 From: Joanne Koch Date: Mon, 15 Jul 2024 14:30:51 -0400 Subject: [PATCH 1/3] Update Dockerfile --- compose/local/tests/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/local/tests/Dockerfile b/compose/local/tests/Dockerfile index b31d0f77..42faaffa 100644 --- a/compose/local/tests/Dockerfile +++ b/compose/local/tests/Dockerfile @@ -33,7 +33,7 @@ RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesourc | tee /etc/apt/sources.list.d/nodesource.list RUN apt-get update RUN apt-get install nodejs -y -RUN apt-get install curl -y && apt-get install npm -y +RUN apt-get install curl -y # npm WARN EBADENGINE package: 'jsdom@20.0.0' with Node 12.x RUN npm install jsdom@19.0.0 From 131f3b5c9277adcc85cf30cb540014a56828f4e1 Mon Sep 17 00:00:00 2001 From: Joanne Koch Date: Mon, 15 Jul 2024 14:47:15 -0400 Subject: [PATCH 2/3] Update Dockerfile --- compose/local/tests/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compose/local/tests/Dockerfile b/compose/local/tests/Dockerfile index 42faaffa..55827565 100644 --- a/compose/local/tests/Dockerfile +++ b/compose/local/tests/Dockerfile @@ -34,6 +34,8 @@ RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesourc RUN apt-get update RUN apt-get install nodejs -y RUN apt-get install curl -y +RUN apt-get install npm -y + # npm WARN EBADENGINE package: 'jsdom@20.0.0' with Node 12.x RUN npm install jsdom@19.0.0 From f61ef9963b28794e31e349aca10efdd3ea818e84 Mon Sep 17 00:00:00 2001 From: Joanne Koch Date: Mon, 15 Jul 2024 15:58:14 -0400 Subject: [PATCH 3/3] Update Dockerfile --- compose/local/tests/Dockerfile | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/compose/local/tests/Dockerfile b/compose/local/tests/Dockerfile index 55827565..5010e1ff 100644 --- a/compose/local/tests/Dockerfile +++ b/compose/local/tests/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM ubuntu:24.04 # Required for nodejs 15+ WORKDIR /tests @@ -16,27 +16,10 @@ COPY ./tests/*.js /tests/ COPY ./tests/*.csv /tests/ COPY ./tests/*.ext /tests/ -# The default Ubuntu 22.04 repository contains an old version 12.22.9 of Node.js -# Need to remove it -RUN apt remove -y nodejs -RUN apt remove -y nodejs-doc -RUN apt-get -y autoremove -# Selenium Webdriver version 4.8.0 requires node 14 or higher -#RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - -#RUN apt-get install -y nodejs -# Above node install is depreciated with a 60 second wait -RUN apt-get update && apt-get install -y ca-certificates curl gnupg -RUN mkdir -p /etc/apt/keyrings -RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \ - | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg -RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" \ - | tee /etc/apt/sources.list.d/nodesource.list RUN apt-get update -RUN apt-get install nodejs -y RUN apt-get install curl -y RUN apt-get install npm -y - # npm WARN EBADENGINE package: 'jsdom@20.0.0' with Node 12.x RUN npm install jsdom@19.0.0 RUN npm install jquery