Skip to content

Commit

Permalink
Upgrade alpine version to 3.14.6. Ignore trivy vulnerabilities CVE-20…
Browse files Browse the repository at this point in the history
…22-28391 and CVE-2022-1271 via .trivyignore (#25)

Signed-off-by: Niladri Halder <[email protected]>
  • Loading branch information
niladrih authored Apr 18, 2022
1 parent 0b00a0c commit 5a06349
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This vulnerability has been fixed in alpine 3.14.6.
# We have upgraded to 3.14.6, but the aquasecurity/trivy-action
# v0.2.4 keeps failing because the database is not up to date.
# https://github.com/aquasecurity/trivy/issues/1988
CVE-2022-28391

# The zgrep utility is not installed in the linux-utils image
CVE-2022-1271
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.14.5
FROM alpine:3.14.6
RUN apk add --no-cache util-linux xfsprogs xfsprogs-extra lvm2 device-mapper

ARG DBUILD_DATE
Expand Down

0 comments on commit 5a06349

Please sign in to comment.