Skip to content

feat: ts sdk custom base image - #8675

Merged
TomChv merged 13 commits into
dagger:mainfrom
TomChv:feat/custom-ts-sdk-runtime-base-image
Nov 28, 2024
Merged

TomChv merged 13 commits into
dagger:mainfrom
TomChv:feat/custom-ts-sdk-runtime-base-image

Conversation

@TomChv

@TomChv TomChv commented Oct 10, 2024 •

Copy link
Copy Markdown
Member

Fixes #8146

Allow external custom runtime as base image using dagger.baseImage field in the module's package.json.

Warning: Only alpine images are supported by the runtime.
Note: You shoud also set dagger.runtime field to node or bun to force a specific runtime, otherwise
the runtime will be detected based on files present in the module.

Example:

{
  "dagger": {
    "baseImage": "node:23.2.0-alpine@sha256:ecefaffd4706c5879af52e022fdb8ea30cbd6590e2a30d05347790d690727c6c",
    "runtime": "node"
  }
}

@TomChv TomChv self-assigned this Oct 10, 2024
@TomChv
TomChv requested a review from a team as a code owner October 10, 2024 16:57
@TomChv
TomChv force-pushed the feat/custom-ts-sdk-runtime-base-image branch from 24d949a to aa60c7d Compare October 10, 2024 18:05
@github-actions

This comment was marked as resolved.

@TomChv TomChv removed the kind/stale label Nov 4, 2024
@TomChv
TomChv requested a review from helderco November 7, 2024 13:32
Comment thread sdk/typescript/runtime/main.go Resolved
Comment thread sdk/typescript/runtime/main.go Resolved
@TomChv
TomChv force-pushed the feat/custom-ts-sdk-runtime-base-image branch from e56c362 to 4c0537e Compare November 14, 2024 12:04
@TomChv
TomChv requested review from a team as code owners November 21, 2024 14:54
@TomChv
TomChv force-pushed the feat/custom-ts-sdk-runtime-base-image branch from 29ad5c1 to b5d3073 Compare November 21, 2024 14:55
@TomChv
TomChv force-pushed the feat/custom-ts-sdk-runtime-base-image branch from 22ce0af to 8bc3b5f Compare November 25, 2024 12:13
Comment thread sdk/typescript/runtime/main.go Resolved
Comment thread sdk/typescript/runtime/main.go Resolved
Comment thread sdk/typescript/runtime/main.go Resolved
@TomChv
TomChv force-pushed the feat/custom-ts-sdk-runtime-base-image branch 2 times, most recently from 95bde35 to 0639b71 Compare November 28, 2024 12:55
Tom Chauveau added 6 commits November 28, 2024 13:55
Signed-off-by: Tom Chauveau <[email protected]>
Signed-off-by: Tom Chauveau <[email protected]>
Signed-off-by: Tom Chauveau <[email protected]>
Signed-off-by: Tom Chauveau <[email protected]>
Tom Chauveau added 6 commits November 28, 2024 13:55
Signed-off-by: Tom Chauveau <[email protected]>
Signed-off-by: Tom Chauveau <[email protected]>
Signed-off-by: Tom Chauveau <[email protected]>
Signed-off-by: Tom Chauveau <[email protected]>
Signed-off-by: Tom Chauveau <[email protected]>
@TomChv
TomChv force-pushed the feat/custom-ts-sdk-runtime-base-image branch from 0639b71 to 4f10883 Compare November 28, 2024 12:55

@helderco helderco left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment thread sdk/typescript/runtime/main.go Resolved
Comment thread sdk/typescript/runtime/main.go Resolved
Co-authored-by: Helder Correia <[email protected]>
Signed-off-by: Vasek - Tom C <[email protected]>
@TomChv
TomChv merged commit 665557f into dagger:main Nov 28, 2024
@TomChv
TomChv deleted the feat/custom-ts-sdk-runtime-base-image branch November 28, 2024 18:54
@TomChv TomChv added this to the v0.15.0 milestone Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Typescript sdk should support overriding base image (like the python sdk does)

2 participants