Documentation
¶
Index ¶
- Constants
- func DevelopmentImage(ctx context.Context, name string, makeClient buildkit.ClientFactory, ...) (oci.NamedImage, error)
- func NonRootRunAs(server string) *runtime.RunAs
- func NonRootRunAsWithID(id int, fsGroup *int) *runtime.RunAs
- func NonRootUser() func(llb.State) llb.State
- func ServerImage(name string, target specs.Platform) (oci.NamedImage, error)
- func ServerImageLLB(name string, target specs.Platform) (llb.State, error)
- func WithNonRootUserWithUserID(userid int) func(llb.State) llb.State
Constants ¶
View Source
const ( StaticBase = "chainguard-static" Alpine = "alpine" DefaultNonRootUserID = 65000 DefaultFSGroup = 65000 )
Variables ¶
This section is empty.
Functions ¶
func DevelopmentImage ¶
func DevelopmentImage(ctx context.Context, name string, makeClient buildkit.ClientFactory, target build.BuildTarget) (oci.NamedImage, error)
DevelopmentImage returns a minimal base image where we add tools for development. Use of development images is temporary, and likely to only be used when ephemeral containers are not available.
func NonRootRunAs ¶
func ServerImage ¶
Returns a Computable[v1.Image]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.