mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
sdk: allow passing docker build arguments in service manifest (#2764)
* start-cli s9pk pack: silence mksquashfs output * sdk: allow passing docker build arguments in service manifest * merge EnvVar into BuildArg
This commit is contained in:
3
sdk/base/lib/osBindings/BuildArg.ts
Normal file
3
sdk/base/lib/osBindings/BuildArg.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type BuildArg = string | { env: string }
|
||||
@@ -1,6 +1,13 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { BuildArg } from "./BuildArg"
|
||||
|
||||
export type ImageSource =
|
||||
| "packed"
|
||||
| { dockerBuild: { workdir: string | null; dockerfile: string | null } }
|
||||
| {
|
||||
dockerBuild: {
|
||||
workdir: string | null
|
||||
dockerfile: string | null
|
||||
buildArgs?: { [key: string]: BuildArg }
|
||||
}
|
||||
}
|
||||
| { dockerTag: string }
|
||||
|
||||
@@ -39,6 +39,7 @@ export { BindOptions } from "./BindOptions"
|
||||
export { BindParams } from "./BindParams"
|
||||
export { Blake3Commitment } from "./Blake3Commitment"
|
||||
export { BlockDev } from "./BlockDev"
|
||||
export { BuildArg } from "./BuildArg"
|
||||
export { CallbackId } from "./CallbackId"
|
||||
export { Category } from "./Category"
|
||||
export { CheckDependenciesParam } from "./CheckDependenciesParam"
|
||||
|
||||
Reference in New Issue
Block a user