Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NodeImageVersion = "node:24" GolangImageVersion = "golang:1.26.4" RuntimeImageVersion = "lishimeng/alpine:3.17" ImageSubNamespace = "library" )
runtime image config
Functions ¶
func Generate ¶
func Generate(p Project, apps ...Application) (err error)
func GenerateBaseDockerfile ¶ added in v1.10.14
Types ¶
type Application ¶ added in v1.11.8
type Application struct {
Name string
NameAlias string // name别名, 不为空时替换name
AppPath string
HasUI bool
}
func (*Application) Build ¶ added in v1.12.6
func (a *Application) Build() *Application
type DockerParam ¶ added in v1.11.9
type DockerParam struct {
Pro Project
App Application
BuildImageVersion ImageVersion
}
type ImageVersion ¶ added in v1.12.6
type Param ¶
type Param struct {
Pro Project
Applications []Application
}
Click to show internal directories.
Click to hide internal directories.