From 690fb9843dcc31f1c3e551a99825e8aedb42e046 Mon Sep 17 00:00:00 2001 From: Manel Eljishi Date: Wed, 16 Oct 2024 11:09:31 +0200 Subject: [PATCH] Build javascript image from base --- docker/Dockerfile.javascript | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/docker/Dockerfile.javascript b/docker/Dockerfile.javascript index ccd62b2..896e10c 100644 --- a/docker/Dockerfile.javascript +++ b/docker/Dockerfile.javascript @@ -1,6 +1,5 @@ -FROM node:20-bullseye +FROM registry.gitlab.com/ufirstgroup/ufg/code-pushup-plugins/code-pushup-base:latest -ENV NODE_PATH=/usr/local/lib/node_modules/ ENV CUSTOM_CHROME_PATH=/usr/bin/chromium RUN apt-get update && apt-get install curl gnupg -y \ @@ -27,15 +26,5 @@ RUN npm install -g "eslint@8.57.0" \ "eslint-plugin-prefer-arrow@1.2.3" \ "eslint-import-resolver-typescript-bun@0.0.104" -RUN npm install -g \ - "@code-pushup/coverage-plugin@^0.49.0" \ - "@code-pushup/js-packages-plugin@^0.49.0" \ - "@code-pushup/lighthouse-plugin@^0.49.0" \ - "@code-pushup/models@^0.49.0" \ - "@code-pushup/eslint-config@^0.8.0" \ - "@code-pushup/eslint-plugin@^0.50.0" - -RUN npm install -g "@code-pushup/cli@^0.50.0" - WORKDIR /app