René's URL Explorer Experiment


Title: feat(cli): allow overriding the deploy base images per project by brentshulman-silkline · Pull Request #5003 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: feat(cli): allow overriding the deploy base images per project by brentshulman-silkline · Pull Request #5003 · triggerdotdev/trigger.dev

X Title: feat(cli): allow overriding the deploy base images per project by brentshulman-silkline · Pull Request #5003 · triggerdotdev/trigger.dev

Description: Closes #5002 Lets a project build its deploy image on its own base, such as a FIPS-validated or hardened Node image, in place of the published triggerdotdev/node / triggerdotdev/bun Debian bases. export default defineConfig({ runtime: "node-26", build: { image: { base: "registry.example.com/node-fips:26@sha256:…", // runtime (final) stage buildBase: "registry.example.com/node:26-dev@sha256:…", // optional; build stage }, }, }); TRIGGER_BUILD_BASE_IMAGE and TRIGGER_BUILD_BUILD_IMAGE override the config, so a platform team can set the base for every project in CI. What changes @trigger.dev/core: build.image.{base,buildBase} on TriggerConfig, and the same two fields on BuildManifest.image. build.json records which base a deploy used. trigger.dev CLI: createBuildManifestFromBundle resolves the overrides (env first, then config). generateContainerfile falls back to BASE_IMAGE / BUILD_IMAGE when they're unset. Nothing changes for projects that don't set them. Docs: a "Base image" section in config/config-file that lists what a custom base must provide (node at the runtime major, the DEFAULT_PACKAGES, a node user, glibc), with a warning that image.pkgs and the apt-based extensions assume Debian. Open questions Should the CLI error out when a custom base is combined with image.pkgs or an apt extension, rather than leave it to the image owner? When a project has image.instructions, the build stage is FROM base plus an apt-get toolchain install, which fails on a non-Debian base. Should buildBase replace that path too? ✅ Checklist I have followed every step in the contributing guide The PR title follows the convention. I ran and tested the code works Testing packages/cli-v3: vitest run src/deploy src/build (10 files, 132 tests) and pnpm run typecheck pass. New tests: generateContainerfile uses the configured base and build images on node and bun, and keeps the published build image when only base is set. resolveImageBaseOverrides covers precedence: env over config, and empty env vars count as unset. oxfmt --check is clean on the changed packages. Changelog Deploys can use your own base images with build.image.base / build.image.buildBase in trigger.config.ts, or the TRIGGER_BUILD_BASE_IMAGE / TRIGGER_BUILD_BUILD_IMAGE environment variables. Screenshots N/A 💯

Open Graph Description: Closes #5002 Lets a project build its deploy image on its own base, such as a FIPS-validated or hardened Node image, in place of the published triggerdotdev/node / triggerdotdev/bun Debian bases. e...

X Description: Closes #5002 Lets a project build its deploy image on its own base, such as a FIPS-validated or hardened Node image, in place of the published triggerdotdev/node / triggerdotdev/bun Debian bases. e...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/5003

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:cadd533b-11bf-5220-ed89-78c6010a51fa
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA472:6B926:25C83F:37F173:6AFADCFC
html-safe-nonceb079f598721f55094ed6f410f3122dc8c2c0ee59283b384a13cb20e647d05fcb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDcyOjZCOTI2OjI1QzgzRjozN0YxNzM6NkFGQURDRkMiLCJ2aXNpdG9yX2lkIjoiODM5NDA1Njk1Mzc4ODgxNjYzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf919b611d28e1417d2a744025ef675a2b3d3b8e29b240e979190789d8f230b19
hovercard-subject-tagpull_request:4751434582
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/5003/files
twitter:imagehttps://avatars.githubusercontent.com/u/134343004?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/134343004?s=400&v=4
og:image:altCloses #5002 Lets a project build its deploy image on its own base, such as a FIPS-validated or hardened Node image, in place of the published triggerdotdev/node / triggerdotdev/bun Debian bases. e...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a7ae932999cc6d511008dbf980ff9efad2a31f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/5003/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F5003%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F5003%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/5003/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/5003/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/5003/files
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests66 (66)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
brentshulman-silklinehttps://github.com/brentshulman-silkline
triggerdotdev:mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
brentshulman-silkline:feat/custom-deploy-base-imagehttps://github.com/brentshulman-silkline/trigger.dev/tree/feat/custom-deploy-base-image
Conversation 5 https://github.com/triggerdotdev/trigger.dev/pull/5003
Commits 1 https://github.com/triggerdotdev/trigger.dev/pull/5003/commits
Checks 2 https://github.com/triggerdotdev/trigger.dev/pull/5003/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/5003/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5003/files
feat(cli): allow overriding the deploy base images per project https://github.com/triggerdotdev/trigger.dev/pull/5003/files#top
Show all changes 1 commit https://github.com/triggerdotdev/trigger.dev/pull/5003/files
9b02208 feat(cli): allow overriding the deploy base images per project brentshulman-silkline Oct 5, 2026 https://github.com/triggerdotdev/trigger.dev/pull/5003/commits/9b022089b7a8a5af7085a7a60c49675808eba0b0
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/5003/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5003/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5003/files
custom-deploy-base-image.md https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-e4c4caf7147665f17a1b667ba4a39205eeec1fd31f18fad865007a877a6cded0
config-file.mdx https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-6a7dee0c249b240edae473b38c92599444ad27d9b2fea293d7487e5303252afe
bundle.test.ts https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-32a6f1bcb3fc7692333108cb3c9cc01c280324701c1f35137ee9861788a2af4f
bundle.ts https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-821d753a8b23f6fb8196c13132aa6b76b36195cea4935afeba149fbefe16fe75
buildImage.test.ts https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-8ea2d90cfabc2ecd8aebb939279c704a93eb868d8ec5d35c603603cf87d6fef7
buildImage.ts https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-cd97f31c326aa41176f90c3e41aa6c9553d5576961e6855863266fd47a7aec05
config.ts https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-778313d4d59253b668bae372f70a009aa160ae9e744a405f86180f87f79a0d28
build.ts https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-d9763fe2a65124eb05ac16c992bb211d2d465f5082279d4d2d2be0ecfdaae8b5
.changeset/custom-deploy-base-image.mdhttps://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-e4c4caf7147665f17a1b667ba4a39205eeec1fd31f18fad865007a877a6cded0
View file https://github.com/triggerdotdev/trigger.dev/blob/9b022089b7a8a5af7085a7a60c49675808eba0b0/.changeset/custom-deploy-base-image.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/5003/{{ revealButtonHref }}
docs/config/config-file.mdxhttps://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-6a7dee0c249b240edae473b38c92599444ad27d9b2fea293d7487e5303252afe
View file https://github.com/triggerdotdev/trigger.dev/blob/9b022089b7a8a5af7085a7a60c49675808eba0b0/docs/config/config-file.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/5003/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-6a7dee0c249b240edae473b38c92599444ad27d9b2fea293d7487e5303252afe
coderabbitaihttps://github.com/apps/coderabbitai
Oct 5, 2026https://github.com/triggerdotdev/trigger.dev/pull/5003/files#r4189495828
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5003/files
https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-6a7dee0c249b240edae473b38c92599444ad27d9b2fea293d7487e5303252afe
packages/cli-v3/src/build/bundle.test.tshttps://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-32a6f1bcb3fc7692333108cb3c9cc01c280324701c1f35137ee9861788a2af4f
View file https://github.com/triggerdotdev/trigger.dev/blob/9b022089b7a8a5af7085a7a60c49675808eba0b0/packages/cli-v3/src/build/bundle.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/5003/{{ revealButtonHref }}
packages/cli-v3/src/build/bundle.tshttps://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-821d753a8b23f6fb8196c13132aa6b76b36195cea4935afeba149fbefe16fe75
View file https://github.com/triggerdotdev/trigger.dev/blob/9b022089b7a8a5af7085a7a60c49675808eba0b0/packages/cli-v3/src/build/bundle.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/5003/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-821d753a8b23f6fb8196c13132aa6b76b36195cea4935afeba149fbefe16fe75
https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-821d753a8b23f6fb8196c13132aa6b76b36195cea4935afeba149fbefe16fe75
https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-821d753a8b23f6fb8196c13132aa6b76b36195cea4935afeba149fbefe16fe75
https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-821d753a8b23f6fb8196c13132aa6b76b36195cea4935afeba149fbefe16fe75
packages/cli-v3/src/deploy/buildImage.test.tshttps://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-8ea2d90cfabc2ecd8aebb939279c704a93eb868d8ec5d35c603603cf87d6fef7
View file https://github.com/triggerdotdev/trigger.dev/blob/9b022089b7a8a5af7085a7a60c49675808eba0b0/packages/cli-v3/src/deploy/buildImage.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/5003/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-8ea2d90cfabc2ecd8aebb939279c704a93eb868d8ec5d35c603603cf87d6fef7
packages/cli-v3/src/deploy/buildImage.tshttps://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-cd97f31c326aa41176f90c3e41aa6c9553d5576961e6855863266fd47a7aec05
View file https://github.com/triggerdotdev/trigger.dev/blob/9b022089b7a8a5af7085a7a60c49675808eba0b0/packages/cli-v3/src/deploy/buildImage.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/5003/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-cd97f31c326aa41176f90c3e41aa6c9553d5576961e6855863266fd47a7aec05
coderabbitaihttps://github.com/apps/coderabbitai
Oct 5, 2026https://github.com/triggerdotdev/trigger.dev/pull/5003/files#r4189495835
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5003/files
https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-cd97f31c326aa41176f90c3e41aa6c9553d5576961e6855863266fd47a7aec05
packages/core/src/v3/config.tshttps://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-778313d4d59253b668bae372f70a009aa160ae9e744a405f86180f87f79a0d28
View file https://github.com/triggerdotdev/trigger.dev/blob/9b022089b7a8a5af7085a7a60c49675808eba0b0/packages/core/src/v3/config.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/5003/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-778313d4d59253b668bae372f70a009aa160ae9e744a405f86180f87f79a0d28
https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-778313d4d59253b668bae372f70a009aa160ae9e744a405f86180f87f79a0d28
packages/core/src/v3/schemas/build.tshttps://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-d9763fe2a65124eb05ac16c992bb211d2d465f5082279d4d2d2be0ecfdaae8b5
View file https://github.com/triggerdotdev/trigger.dev/blob/9b022089b7a8a5af7085a7a60c49675808eba0b0/packages/core/src/v3/schemas/build.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/5003/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-d9763fe2a65124eb05ac16c992bb211d2d465f5082279d4d2d2be0ecfdaae8b5
https://github.com/triggerdotdev/trigger.dev/pull/5003/files#diff-d9763fe2a65124eb05ac16c992bb211d2d465f5082279d4d2d2be0ecfdaae8b5
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.