Skip to content

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

Closed

Description

@cchanley2003

What are you trying to do?

Of the 3 main sdks the typescript one doesn't allow for overriding the base image. Go doesn't need it and python has the discovery. Typescript should support similar functionality to the python sdk.

Similar to the python we could put the image override in the config section of the package.json

Why is this important to you?

  1. I want to be able to provide my own base image
  2. For corporate envs may need to pull from a private registry

How are you currently working around this?

Only work around atm is to fork the typescript sdk

Activity

  1. TomChv commented on Oct 8, 2024

    @TomChv
    Member

    It's possible to override the current node version, do you want to actually change the image itself?

    https://docs.dagger.io/manuals/developer/typescript/356352/runtime#nodejs

    If so, I can add that capabilities

  2. cchanley2003 commented on Oct 8, 2024

    @cchanley2003
    Author

    Yes, change the image not just the version or package manager.

  3. TomChv commented on Oct 8, 2024

    @TomChv
    Member

    Yes, change the image not just the version or package manager.

    Okay I can make that happen, I'll do a change on the runtime :D

  4. added a commit that references this issue on Nov 29, 2024
    665557f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions