5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 08:06:54 +00:00

build: upgrade base Docker image to prevent security vulnerability

According to Snyk.io, the currently used base Docker image has 19 security
vulnerabilities (13 high).
https://snyk.io/test/docker/node%3A16.5.0-alpine3.14

On the other hand, the image `node:16.14.2-alpine3.14` has no known security
vulnerabilies.

https://snyk.io/test/docker/node%3A16.14.2-alpine3.14

This commit upgrades the image to fix the above mentioned issues.
This commit is contained in:
Diogo Kiss 2022-05-03 10:18:17 +02:00
parent 43934e274f
commit e4c3e786a4
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
FROM node:16.5.0-alpine3.14 as build
FROM node:16.14.2-alpine3.14 as build
COPY package*.json /

2
package-lock.json generated
View file

@ -56,7 +56,7 @@
"yaml": "^2.0.1"
},
"engines": {
"node": "16.5.0"
"node": "v16.14.2"
}
},
"node_modules/@actions/core": {

View file

@ -12,7 +12,7 @@
"build": "rollup -c"
},
"engines": {
"node": "16.5.0"
"node": "v16.14.2"
},
"repository": {
"type": "git",