From 3b4a6f255c8a11c8871968413759778bb17cbcf8 Mon Sep 17 00:00:00 2001 From: Piotr Halama Date: Thu, 7 Mar 2024 10:35:26 +0100 Subject: [PATCH] Remove Nodejs16 image --- .github/dependabot.yml | 14 ---------- .../runtimes/nodejs/nodejs16/Dockerfile | 20 -------------- .../runtimes/nodejs/nodejs16/package.json | 26 ------------------- 3 files changed, 60 deletions(-) delete mode 100644 components/runtimes/nodejs/nodejs16/Dockerfile delete mode 100644 components/runtimes/nodejs/nodejs16/package.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5acc04ee7..0dc97f9b4 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -97,20 +97,6 @@ updates: patterns: - "opentelemetry-*" - - package-ecosystem: "npm" - directory: "/components/runtimes/nodejs/nodejs16" - labels: - - "area/dependency" - - "kind/chore" - schedule: - interval: "weekly" - commit-message: - prefix: "npm-nodejs16" - include: "scope" - groups: - opentelemetry: - patterns: - - "@opentelemetry/*" - package-ecosystem: "npm" directory: "/components/runtimes/nodejs/nodejs18" labels: diff --git a/components/runtimes/nodejs/nodejs16/Dockerfile b/components/runtimes/nodejs/nodejs16/Dockerfile deleted file mode 100644 index 2c4b5bac4..000000000 --- a/components/runtimes/nodejs/nodejs16/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -# image base on 16.20.1-alpine3.17.4 -FROM node@sha256:b1fdeade9cae98c30bbd8087f26f8da404e6fc48bdd53772017855c1a1d32605 - -ARG NODE_ENV -ENV NODE_ENV $NODE_ENV -ENV npm_config_cache /tmp/ - -RUN mkdir -p /usr/src/app -RUN mkdir -p /usr/src/app/lib -WORKDIR /usr/src/app - -COPY ./nodejs16/package.json /usr/src/app/ -RUN npm install && npm cache clean --force -COPY ./lib /usr/src/app/lib - -COPY ./server.js /usr/src/app/server.js - -CMD ["npm", "start"] - -EXPOSE 8888 diff --git a/components/runtimes/nodejs/nodejs16/package.json b/components/runtimes/nodejs/nodejs16/package.json deleted file mode 100644 index 975668da2..000000000 --- a/components/runtimes/nodejs/nodejs16/package.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "nodejs16-runtime", - "version": "0.1.0", - "description": "NodeJS v16 container for kyma serverless", - "engines": { - "node": ">= 16.0.0" - }, - "dependencies": { - "@opentelemetry/api": "^1.0.4", - "@opentelemetry/exporter-trace-otlp-http": "^0.49.1", - "@opentelemetry/instrumentation": "^0.49.1", - "@opentelemetry/instrumentation-express": "^0.36.0", - "@opentelemetry/instrumentation-http": "^0.49.1", - "@opentelemetry/propagator-b3": "^1.2.0", - "@opentelemetry/sdk-trace-node": "^1.2.0", - "@opentelemetry/tracing": "^0.24.0", - "@opentelemetry/sdk-metrics": "^1.15.1", - "@opentelemetry/exporter-prometheus": "^0.49.1", - "axios": "1.6.7", - "co": "~4.6.0", - "express": ">=4.0.0", - "morgan": "*", - "mz": "~2.7.0", - "cloudevents": "^8.0.0" - } -}