mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 16:06:56 +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:
parent
43934e274f
commit
e4c3e786a4
3 changed files with 3 additions and 3 deletions
|
|
@ -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 /
|
COPY package*.json /
|
||||||
|
|
||||||
|
|
|
||||||
2
package-lock.json
generated
2
package-lock.json
generated
|
|
@ -56,7 +56,7 @@
|
||||||
"yaml": "^2.0.1"
|
"yaml": "^2.0.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "16.5.0"
|
"node": "v16.14.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@actions/core": {
|
"node_modules/@actions/core": {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
"build": "rollup -c"
|
"build": "rollup -c"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "16.5.0"
|
"node": "v16.14.2"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue