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

Add the base image pingcap/alpine-glibc:alpine-3.14.6 for releasing vineyardd and bump up etcd to v3.5.13 #1856

Closed
wants to merge 1 commit into from

Conversation

dashanji
Copy link
Member

@dashanji dashanji commented Apr 7, 2024

What do these changes do?

In release mode, the vineyardd image has no security issues.

$ trivy image ghcr.io/v6d-io/v6d/vineyardd:alpine-latest_x86_64        
2024-04-07T11:28:20.091+0800    INFO    Vulnerability scanning is enabled
2024-04-07T11:28:20.091+0800    INFO    Secret scanning is enabled
2024-04-07T11:28:20.091+0800    INFO    If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2024-04-07T11:28:20.091+0800    INFO    Please see also https://aquasecurity.github.io/trivy/v0.50/docs/scanner/secret/#recommendation for faster secret detection
2024-04-07T11:28:20.095+0800    INFO    Detected OS: alpine
2024-04-07T11:28:20.095+0800    INFO    Detecting Alpine vulnerabilities...
2024-04-07T11:28:20.097+0800    INFO    Number of language-specific files: 1
2024-04-07T11:28:20.097+0800    INFO    Detecting gobinary vulnerabilities...
2024-04-07T11:28:20.098+0800    WARN    This OS version is no longer supported by the distribution: alpine 3.14.6
2024-04-07T11:28:20.098+0800    WARN    The vulnerability detection may be insufficient because security updates are not provided

ghcr.io/v6d-io/v6d/vineyardd:alpine-latest_x86_64 (alpine 3.14.6)

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

Related issue number

Fixes #1855

@dashanji dashanji changed the title Add the base image pingcap/alpine-glibc:alpine-3.14.6 for release and bump up etcd to v3.5.13 Add the base image pingcap/alpine-glibc:alpine-3.14.6 for releasing vineyardd and bump up etcd to v3.5.13 Apr 7, 2024
@@ -73,17 +75,23 @@ RUN cd /work/v6d && \
make -j`nproc` && \
strip ./bin/vineyardd

# debug has busybox
FROM gcr.io/distroless/base:debug
FROM pingcap/alpine-glibc:alpine-3.14.6 as release
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the distroless/base:debug image is by design for glibc dependencies.

Alpine based images won't work for certain syscalls.

@sighingnow
Copy link
Member

Closing as invalid.

@sighingnow sighingnow closed this Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix the CVEs in vineyardd image
2 participants