Documentation
¶
Overview ¶
Package imageparser provides utilities for parsing container image references from Dockerfiles. This package enables extracting image references embedded in Dockerfile FROM directives, allowing Go code to stay synchronized with Dependabot updates automatically.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseImageFromDockerfile ¶
ParseImageFromDockerfile extracts a container image reference from a Dockerfile using the provided regex pattern. This ensures Go code stays in sync with Dependabot updates automatically. Panics if the Dockerfile cannot be parsed - this catches embedding/format issues at init time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.