Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run apk upgrade in Dockerfile #43

Merged
merged 1 commit into from
Apr 26, 2024
Merged

run apk upgrade in Dockerfile #43

merged 1 commit into from
Apr 26, 2024

Conversation

matheusfm
Copy link
Contributor

Description

This PR adds a layer in Dockerfile for running apk upgrade to fix known vulnerabilities.

TAG=test make docker-build
trivy image ghcr.io/undistro/marvin:test --scanners vuln --vuln-type os
2024-04-26T15:44:39.295-0300    INFO    Vulnerability scanning is enabled
2024-04-26T15:44:40.105-0300    INFO    Detected OS: alpine
2024-04-26T15:44:40.106-0300    INFO    Detecting Alpine vulnerabilities...

ghcr.io/undistro/marvin:test (alpine 3.19.1)

Total: 0 (UNKNOWN: 0, LOW: 0, MEDIUM: 0, HIGH: 0, CRITICAL: 0)

How has this been tested?

  • make docker-build

Checklist

  • I have labeled this PR with the relevant Type labels
  • I have documented my code (if applicable)
  • My changes are covered by tests

@matheusfm matheusfm added the enhancement New feature or request label Apr 26, 2024
@matheusfm matheusfm requested a review from knrc April 26, 2024 18:45
@matheusfm matheusfm self-assigned this Apr 26, 2024
@matheusfm matheusfm merged commit 91ac80f into main Apr 26, 2024
4 checks passed
@matheusfm matheusfm deleted the dockerfile-apk-upgrade branch April 26, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants