debian

package
v0.37.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ImageVersion is the golang version extracted from the Dockerfile
	ImageVersion = "1.25.5"

	// DockerfileChecksum is the checksum of the Dockerfile content
	DockerfileChecksum = "6771d28b2de472298ffdd193ee421254d2bb9aa3bf90a63f9ce21393728fa834"
)

Default Dockerfile (Dockerfilego)

View Source
const (
	PROJ_MOUNT = "/src"
	OUT_DIR    = "/out/"
)

Variables

View Source
var DockerfileContent = `` /* 601-byte string literal not displayed */

DockerfileContent contains the embedded Dockerfile content

Functions

func CacheFolder

func CacheFolder() string

func GetDockerfileMetadata added in v0.34.0

func GetDockerfileMetadata(variantType string) (version, checksum, content string)

GetDockerfileMetadata returns the metadata for the specified variant type. Pass empty string "" for default variant.

func GoImage

func GoImage(build container.Build) string

func Images added in v0.31.0

func Images(build container.Build) []string

func Matches added in v0.31.0

func Matches(build container.Build) bool

Matches implements the Build interface - Debian variant runs when from=debian

func New

func New() build.BuildStepv3

func NewProd

func NewProd() build.BuildStepv3

Types

type GoContainer

type GoContainer struct {
	//TODO add option to fail on linter or not
	*container.Container
	App       string
	File      u.SrcFile
	Folder    string
	Image     string
	ImageTag  string
	Tags      []string
	Platforms []*types.PlatformSpec
}

func (*GoContainer) Build

func (c *GoContainer) Build() error

func (*GoContainer) BuildGoImage

func (c *GoContainer) BuildGoImage() error

func (*GoContainer) BuildScript

func (c *GoContainer) BuildScript() string

func (*GoContainer) Prod

func (c *GoContainer) Prod() error

func (*GoContainer) Pull

func (c *GoContainer) Pull() error

func (*GoContainer) Run

func (c *GoContainer) Run() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL