Documentation ¶
Overview ¶
Package kontext is a set of utilities for bundling up a local directory context within CLIs into a self-extracting container image that when run will expand its payload into the working directory. It is (originally) based on github.com/mattmoor/kontext
Index ¶
Constants ¶
View Source
const (
// StoragePath is where in the container image the files are placed.
StoragePath = "/var/run/kontext"
)
Variables ¶
View Source
var ( // BaseImageString holds a reference to a built image of ./cmd/expander BaseImageString = "ghcr.io/chainguard-dev/kontext:latest" // BaseImage is where we publish ./cmd/expander BaseImage, _ = name.ParseReference(BaseImageString) )
Functions ¶
func Bundle ¶
Bundle packages up the given directory as a self-extracting container image based on BaseImage and publishes it to tag.
Types ¶
Click to show internal directories.
Click to hide internal directories.