Skip to content

Commit 7d049c6

Browse files
committed
Update from node.js 14 to 16
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
1 parent e46688e commit 7d049c6

22 files changed

Lines changed: 44 additions & 44 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010

1111
GO_VERSION: "1.15"
1212
PYTHON_VERSION: "3.9"
13-
NODE_VERSION: "14"
13+
NODE_VERSION: "16"
1414
NPM_VERSION: "7"
1515

1616
# ---- Docker Namespace ----

.github/workflows/release-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212

1313
GO_VERSION: "1.15"
1414
PYTHON_VERSION: "3.9"
15-
NODE_VERSION: "14"
15+
NODE_VERSION: "16"
1616
NPM_VERSION: "7"
1717

1818
# ---- Docker Namespace ----

.templates/new-scanner/parser/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY --chown=app:app ./parser.js ./parser.js
1212
# Additional packages
1313
# ARG namespace
1414
# ARG baseImageTag
15-
# FROM node:14-alpine as build
15+
# FROM node:16-alpine as build
1616
# RUN mkdir -p /home/app
1717
# WORKDIR /home/app
1818
# COPY package.json package-lock.json ./

hook-sdk/nodejs/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
FROM node:14-alpine as build
5+
FROM node:16-alpine as build
66
WORKDIR /home/app
77
COPY package.json package-lock.json ./
88
RUN npm ci --production
99

10-
FROM node:14-alpine
10+
FROM node:16-alpine
1111
ARG NODE_ENV
1212
RUN addgroup --system --gid 1001 app && adduser app --system --uid 1001 --ingroup app
1313
WORKDIR /home/app/hook-wrapper/

hooks/cascading-scans/hook/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
ARG namespace
66
ARG baseImageTag
7-
FROM node:14-alpine as install
7+
FROM node:16-alpine as install
88
RUN mkdir -p /home/app
99
WORKDIR /home/app
1010
COPY package.json package-lock.json ./
1111
RUN npm ci --production
1212

13-
FROM node:14-alpine as build
13+
FROM node:16-alpine as build
1414
RUN mkdir -p /home/app
1515
WORKDIR /home/app
1616
COPY package.json package-lock.json ./

hooks/cascading-scans/hook/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hooks/cascading-scans/hook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"devDependencies": {
4848
"@types/ip-address": "^7.0.0",
4949
"@types/lodash": "^4.14.171",
50-
"@types/node": "^14.17.5",
50+
"@types/node": "^16.0.0",
5151
"jest": "^27.0.6",
5252
"typescript": "^4.3.5"
5353
}

hooks/finding-post-processing/hook/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
ARG namespace
66
ARG baseImageTag
7-
FROM node:14-alpine as build
7+
FROM node:16-alpine as build
88
RUN mkdir -p /home/app
99
WORKDIR /home/app
1010
COPY package.json package-lock.json ./

hooks/generic-webhook/hook/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
ARG namespace
66
ARG baseImageTag
7-
FROM node:14-alpine as build
7+
FROM node:16-alpine as build
88
RUN mkdir -p /home/app
99
WORKDIR /home/app
1010
COPY package.json package-lock.json ./

hooks/notification/hook/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
ARG namespace
66
ARG baseImageTag
7-
FROM node:14-alpine as install
7+
FROM node:16-alpine as install
88
RUN mkdir -p /home/app
99
WORKDIR /home/app
1010
COPY package.json package-lock.json ./
1111
RUN npm ci --production
1212

13-
FROM node:14-alpine as build
13+
FROM node:16-alpine as build
1414
RUN mkdir -p /home/app
1515
WORKDIR /home/app
1616
COPY package.json package-lock.json ./

0 commit comments

Comments
 (0)