Documentation ¶
Index ¶
Constants ¶
View Source
const ( ImageMinimal = "minimal" ImageScratch = "scratch" )
View Source
const ( Netapi32DllFilename = `C:\Windows\System32\netapi32.dll` ImageContainingNetapi32Dll = "mcr.microsoft.com/windows/servercore:ltsc2022" )
Variables ¶
View Source
var (
DefaultDependenciesCacheDirectory = filepath.Join(".cache", "dependencies", "images")
)
Functions ¶
This section is empty.
Types ¶
type BufferedLayer ¶
func NewTarLayer ¶
func (*BufferedLayer) Close ¶
func (this *BufferedLayer) Close() error
type BuildRequest ¶
type BuildRequest struct { From string Os sys.Os Arch sys.Arch Time time.Time Vendor string PathEnv []string Env sys.EnvVars EntryPoint []string Cmd []string ExposedPorts map[string]struct{} Annotations map[string]string Labels map[string]string Contents iter.Seq2[LayerItem, error] BifroestBinarySource string BifroestBinarySourceFs fs.FS AddDummyConfiguration bool AddSkeletonStructure bool }
func (BuildRequest) ToOciPlatform ¶
func (this BuildRequest) ToOciPlatform() (*v1.Platform, error)
type Dependencies ¶
type FileDependencies ¶
type FileDependencies []FileDependency
func FetchDependencies ¶
func FetchDependencies(ctx context.Context, req FetchDependenciesRequest) (result FileDependencies, err error)
func (FileDependencies) ToLayerItems ¶
func (this FileDependencies) ToLayerItems() []LayerItem
type FileDependency ¶
type FileDependency struct { Os sys.Os Arch sys.Arch Source string Target string Mode gos.FileMode }
func (FileDependency) ToLayerItem ¶
func (this FileDependency) ToLayerItem() LayerItem
Click to show internal directories.
Click to hide internal directories.