Skip to content

v0.1.4

Choose a tag to compare

@mirkobrombin mirkobrombin released this 30 Apr 16:35
· 50 commits to main since this release

Added new function BuildContainerFile to enable building Docker images from Containerfile(s) with buildah.

Example usage

pmt, err := prometheus.NewPrometheus("storage", "overlay")
if err != nil {
	panic(err)
}

image, err := pmt.BuildContainerFile("Containerfile", "example")
if err != nil {
	panic(err)
}

fmt.Printf("Image built: %s\n", image.ID)