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

refactor(skeleton): switch to busybox and simplify build #1003

Merged
merged 2 commits into from
Dec 8, 2024

Conversation

sjinks
Copy link
Member

@sjinks sjinks commented Dec 8, 2024

This PR switches the base image for skeleton from alpine to busybox. This reduces the image size (22.5MB vs 32.9MB) and update frequency (the busybox binary is the only executable component of the image; it is updated less frequently and has much fewer vulnerabilities than a full-fledged image).

Also, because the ADD command can add files from a Git repository, we simplify the build process by not using git. The build process will be faster because Docker does not need to execute anything in the foreign (emulated) architecture.

Unlike #984, this PR does not require changes to VIP CLI.

@sjinks sjinks self-assigned this Dec 8, 2024
@sjinks sjinks requested a review from a team as a code owner December 8, 2024 14:18
Copy link

github-actions bot commented Dec 8, 2024

Trivy Scan Report

Trivy Returned Empty Report

Copy link

github-actions bot commented Dec 8, 2024

Trivy Scan Report

Trivy Returned Empty Report

@sjinks sjinks merged commit 87d0240 into master Dec 8, 2024
2 checks passed
@sjinks sjinks deleted the update/skeleton branch December 8, 2024 14:25
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.

1 participant