buildscript

package
v1.20.5 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: MIT Imports: 4 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NodeImageVersion    = "node:20"
	GolangImageVersion  = "golang:1.23"
	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

func GenerateBaseDockerfile(category ...string) (err error)

Types

type Application added in v1.11.8

type Application struct {
	Name    string
	AppPath string
	HasUI   bool
}

type DockerParam added in v1.11.9

type DockerParam struct {
	Pro               Project
	App               Application
	BuildImageVersion ImageVersion
}

type ImageVersion added in v1.19.2

type ImageVersion struct {
	Node         string // UI编译镜像
	Golang       string // golang编译镜像
	Runtime      string // 运行时镜像
	SubNamespace string // 镜像存放的二级地址,registry设置后生效 不空:{registry}/{subNamespace} 空:{registry}
}

type Param

type Param struct {
	Pro          Project
	Applications []Application
}

type Project added in v1.19.2

type Project struct {
	ImageRegistry string // 镜像库,默认empty
	Namespace     string // namespace
}

Jump to

Keyboard shortcuts

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