Conversation
Use cc-debian13 distroless image for full compatibility with trixie build. It also includes libm, libc, libperl and standard dynamic linkers. Additionally, use SHA digest for distroless image. Signed-off-by: Daniel-Ioan Dinu <daniel_dinu30@yahoo.com>
…example - Measure root file system size using du -h - Scan for vulnerabilities using Trivy - Run in background and test connectivity using curl Additionally, document one unresolved CVE to .trivyignore. Signed-off-by: Daniel-Ioan Dinu <daniel_dinu30@yahoo.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added a Perl5.42 HTTP server example using the distroless container image
gcr.io/distroless/cc-debian13, which is compatible withtrixieand provides sufficient dependencies. This example is based on the existing one in the catalog, enhancing the container build via distroless.The
README.mdfile contains instructions for building and running the example manually, as well as the list of dependencies that are covered by the chosen distroless image:ca-certificates)tzdata)/tmpand/etcdirectoriesld-linux-x86-64libc,libmandlibperlThe remaining dependencies related to
perlandlibcryptstill need to be manually copied on top of that (seeDockerfile).Automated Testing
The second commit of this PR contains a three-stage workflow to build and test this example via Github Actions:
rootfssize (resulting in 85MB).trivyignorefor more)curl