Documentation
¶
Overview ¶
Package apk provides functionality for building Alpine Linux APK packages.
Package apk provides Alpine Linux package building functionality and constants.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apk ¶
type Apk struct {
*common.BaseBuilder
}
Apk represents the APK package builder. It embeds the common.BaseBuilder to inherit shared functionality.
func NewBuilder ¶
NewBuilder creates a new APK package builder.
func (*Apk) BuildPackage ¶
func (a *Apk) BuildPackage(ctx context.Context, artifactsPath string, targetArch string) (string, error)
BuildPackage creates an APK package without external dependencies. The package is created as a gzip-compressed tar archive containing the package files and metadata (.PKGINFO and optional .install script). Returns the path to the created APK file.
Click to show internal directories.
Click to hide internal directories.