From 7ebbfb062a81ed6ca8c8f0b5cd90fc5bccd35f66 Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Wed, 17 Dec 2025 12:38:53 +0000 Subject: [PATCH] refactor: remove playwright dependencies from Dockerfiles --- IncomingRequestIngest/Dockerfile.tpl | 5 ----- ProbeIngest/Dockerfile.tpl | 6 +----- ServerMonitorIngest/Dockerfile.tpl | 5 ----- 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/IncomingRequestIngest/Dockerfile.tpl b/IncomingRequestIngest/Dockerfile.tpl index 13c3db964e..775378f54f 100644 --- a/IncomingRequestIngest/Dockerfile.tpl +++ b/IncomingRequestIngest/Dockerfile.tpl @@ -38,9 +38,6 @@ RUN apt-get install bash -y && apt-get install curl -y && apt-get install iputil # Install python RUN apt-get update && apt-get install -y .gyp python3 make g++ -# Install playwright dependencies -RUN apt-get install -y libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libgtk-3-0 libpango-1.0-0 libcairo2 libgdk-pixbuf2.0-0 libasound2 libatspi2.0-0 - #Use bash shell by default SHELL ["/bin/bash", "-c"] @@ -62,8 +59,6 @@ ENV PRODUCTION=true WORKDIR /usr/src/app -RUN PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=0 npx playwright install --with-deps - # Install app dependencies COPY ./IncomingRequestIngest/package*.json /usr/src/app/ RUN npm install diff --git a/ProbeIngest/Dockerfile.tpl b/ProbeIngest/Dockerfile.tpl index e24b4fbdf4..c1898e17ef 100644 --- a/ProbeIngest/Dockerfile.tpl +++ b/ProbeIngest/Dockerfile.tpl @@ -37,9 +37,6 @@ RUN apt-get install bash -y && apt-get install curl -y && apt-get install iputil # Install python RUN apt-get update && apt-get install -y .gyp python3 make g++ -# Install playwright dependencies -RUN apt-get install -y libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libgtk-3-0 libpango-1.0-0 libcairo2 libgdk-pixbuf2.0-0 libasound2 libatspi2.0-0 - #Use bash shell by default SHELL ["/bin/bash", "-c"] @@ -58,11 +55,10 @@ COPY ./Common /usr/src/Common ENV PRODUCTION=true +ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 WORKDIR /usr/src/app -RUN npx playwright install --with-deps - # Install app dependencies COPY ./ProbeIngest/package*.json /usr/src/app/ RUN npm install diff --git a/ServerMonitorIngest/Dockerfile.tpl b/ServerMonitorIngest/Dockerfile.tpl index 8daabf0187..bfe0a8c609 100644 --- a/ServerMonitorIngest/Dockerfile.tpl +++ b/ServerMonitorIngest/Dockerfile.tpl @@ -38,9 +38,6 @@ RUN apt-get install bash -y && apt-get install curl -y && apt-get install iputil # Install python RUN apt-get update && apt-get install -y .gyp python3 make g++ -# Install playwright dependencies -RUN apt-get install -y libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libgtk-3-0 libpango-1.0-0 libcairo2 libgdk-pixbuf2.0-0 libasound2 libatspi2.0-0 - #Use bash shell by default SHELL ["/bin/bash", "-c"] @@ -62,8 +59,6 @@ ENV PRODUCTION=true WORKDIR /usr/src/app -RUN PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=0 npx playwright install --with-deps - # Install app dependencies COPY ./ServerMonitorIngest/package*.json /usr/src/app/ RUN npm install