apko
No long description provided.
Installation
dagger install github.com/tuananh/daggerverse/apko@5e6b42cb28fc18757def43ef0997adf752b329b1
Entrypoint
Return Type
Apko
Example
dagger -m github.com/tuananh/daggerverse/apko@5e6b42cb28fc18757def43ef0997adf752b329b1 call \
func (m *myModule) example() *Apko {
return dag.
Apko()
}
@function
def example() -> dag.Apko:
return (
dag.apko()
)
@func()
example(): Apko {
return dag
.apko()
}
Types
Apko 🔗
build() 🔗
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | No description provided |
arch | String ! | "amd64" | No description provided |
apkoFile | File ! | - | No description provided |
packagesAppend | Directory | - | default="packages" |
keyringAppend | File | - | No description provided |
image | String ! | - | No description provided |
tag | String ! | "latest" | No description provided |
tar | String | - | No description provided |
Example
dagger -m github.com/tuananh/daggerverse/apko@5e6b42cb28fc18757def43ef0997adf752b329b1 call \
build --source DIR_PATH --arch string --apko-file file:path --image string --tag string
func (m *myModule) example(source *Directory, arch string, apkoFile *File, image string, tag string) *File {
return dag.
Apko().
Build(source, arch, apkoFile, image, tag)
}
@function
def example(source: dagger.Directory, arch: str, apko_file: dagger.File, image: str, tag: str) -> dagger.File:
return (
dag.apko()
.build(source, arch, apko_file, image, tag)
)
@func()
example(source: Directory, arch: string, apkoFile: File, image: string, tag: string): File {
return dag
.apko()
.build(source, arch, apkoFile, image, tag)
}