From 370ed914d017d0cd3395a8f939cbe1c5e11e9101 Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Thu, 16 May 2024 14:22:30 +0200 Subject: [PATCH] Install npm versions of plus1 (#4154) --- docker/Dockerfile-plus1 | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docker/Dockerfile-plus1 b/docker/Dockerfile-plus1 index ef359b2ab..6cbf68ba6 100644 --- a/docker/Dockerfile-plus1 +++ b/docker/Dockerfile-plus1 @@ -3,18 +3,14 @@ FROM sitespeedio/sitespeed.io:${version} ENV SITESPEED_IO_BROWSERTIME__XVFB true ENV SITESPEED_IO_BROWSERTIME__DOCKER true -ENV SITESPEED_IO_PLUGINS__ADD /lighthouse/index.js,/gpsi/lib/index.js +ENV SITESPEED_IO_PLUGINS__ADD @sitespeed.io/plugin-lighthouse,@sitespeed.io/plugin-gpsi RUN sudo apt-get update && sudo apt-get install git -y RUN node --version RUN npm --version -WORKDIR /gpsi -RUN git clone https://github.com/sitespeedio/plugin-gpsi.git . -RUN npm install --production -WORKDIR /lighthouse -RUN git clone https://github.com/sitespeedio/plugin-lighthouse.git . -RUN npm install --production +RUN npm install @sitespeed.io/plugin-lighthouse -g --production +RUN npm install @sitespeed.io/plugin-gpsi -g --production VOLUME /sitespeed.io -WORKDIR /sitespeed.io +WORKDIR /sitespeed.io \ No newline at end of file