Documentation ¶
Index ¶
Constants ¶
View Source
const (
TarLayerMediaType = "application/vnd.devcontainers.layer.v1+tar"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spec ¶
type Spec struct { ID string `json:"id"` Version string `json:"version"` Name string `json:"name"` Description string `json:"description"` DocumentationURL string `json:"documentationURL"` LicenseURL string `json:"licenseURL"` Keywords []string `json:"keywords"` Options map[string]Option `json:"options"` ContainerEnv map[string]string `json:"containerEnv"` }
func (*Spec) Compile ¶
func (s *Spec) Compile(featureRef, featureName, featureDir, containerUser, remoteUser string, useBuildContexts bool, options map[string]any) (string, string, error)
Extract unpacks the feature from the image and returns a set of lines that should be appended to a Dockerfile to install the feature.
Click to show internal directories.
Click to hide internal directories.