Dagger
Search

build

No long description provided.

Installation

dagger install github.com/mjb141/daggerverse/build@be62c64ad884d66688babc31525d1d78ea2ba1e3

Entrypoint

Return Type
Build !
Arguments
NameTypeDescription
buildArgs[String ! ] No description provided
Example
func (m *myModule) example() *Build  {
	return dag.
			Build()
}
@function
def example() -> dag.Build:
	return (
		dag.build()
	)
@func()
example(): Build {
	return dag
		.build()
}

Types

Build 🔗

withBuildArg() 🔗

Return Type
Build !
Arguments
NameTypeDefault ValueDescription
keyString !-No description provided
valueString !-No description provided
Example
dagger -m github.com/mjb141/daggerverse/build@be62c64ad884d66688babc31525d1d78ea2ba1e3 call \
 with-build-arg --key string --value string \
 build --dir DIR_PATH --file-name string --platform string
func (m *myModule) example(key string, value string) *Build  {
	return dag.
			Build().
			WithBuildArg(key, value)
}
@function
def example(key: str, value: str) -> dag.Build:
	return (
		dag.build()
		.with_build_arg(key, value)
	)
@func()
example(key: string, value: string): Build {
	return dag
		.build()
		.withBuildArg(key, value)
}

build() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
dirDirectory !-A directory.
fileNameString !"Dockerfile"No description provided
platformString !"linux/amd64"No description provided
Example
dagger -m github.com/mjb141/daggerverse/build@be62c64ad884d66688babc31525d1d78ea2ba1e3 call \
 build --dir DIR_PATH --file-name string --platform string
func (m *myModule) example(dir *Directory, fileName string, platform string) *Container  {
	return dag.
			Build().
			Build(dir, fileName, platform)
}
@function
def example(dir: dagger.Directory, file_name: str, platform: str) -> dagger.Container:
	return (
		dag.build()
		.build(dir, file_name, platform)
	)
@func()
example(dir: Directory, fileName: string, platform: string): Container {
	return dag
		.build()
		.build(dir, fileName, platform)
}