René's URL Explorer Experiment


Title: feat: allow overriding the deploy base image per runtime (FIPS / hardened bases) · Issue #5002 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: feat: allow overriding the deploy base image per runtime (FIPS / hardened bases) · Issue #5002 · triggerdotdev/trigger.dev

X Title: feat: allow overriding the deploy base image per runtime (FIPS / hardened bases) · Issue #5002 · triggerdotdev/trigger.dev

Description: Is your feature request related to a problem? Please describe. We self-host Trigger.dev inside a FedRAMP boundary. FedRAMP (NIST SC-13) requires the task runtime to use a FIPS-validated cryptographic module. Stock Node statically links O...

Open Graph Description: Is your feature request related to a problem? Please describe. We self-host Trigger.dev inside a FedRAMP boundary. FedRAMP (NIST SC-13) requires the task runtime to use a FIPS-validated cryptograph...

X Description: Is your feature request related to a problem? Please describe. We self-host Trigger.dev inside a FedRAMP boundary. FedRAMP (NIST SC-13) requires the task runtime to use a FIPS-validated cryptograph...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/5002

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat: allow overriding the deploy base image per runtime (FIPS / hardened bases)","articleBody":"### Is your feature request related to a problem? Please describe.\n\nWe self-host Trigger.dev inside a FedRAMP boundary. FedRAMP (NIST SC-13) requires the task runtime to use a FIPS-validated cryptographic module. Stock Node statically links OpenSSL and can't run in FIPS mode, so this has to be a property of the base image (e.g. Chainguard `node-fips`).\n\nThe deploy image base can't be changed today:\n\n- The base and build images are hard-pinned per runtime in [`BASE_IMAGE`](https://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/cli-v3/src/deploy/buildImage.ts#L711-L720) and [`BUILD_IMAGE`](https://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/cli-v3/src/deploy/buildImage.ts#L722-L731).\n- The base is read from that map at [one point](https://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/cli-v3/src/deploy/buildImage.ts#L818), and the runtime stage is always [`FROM base AS final`](https://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/cli-v3/src/deploy/buildImage.ts#L1007-L1009).\n- Build extensions can add to the base stage with [`image.instructions` / `image.pkgs`](https://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/core/src/v3/build/extensions.ts#L60-L67), but they can't replace it.\n\nThe only option today is to `yarn patch` the `BASE_IMAGE` constant in the CLI. That has to be redone on every CLI release.\n\n### Describe the solution you'd like to see\n\nAn opt-in override in `trigger.config.ts`, next to [`build.extensions`](https://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/core/src/v3/config.ts#L208-L225):\n\n```ts\nexport default defineConfig({\n  runtime: \"node-26\",\n  build: {\n    image: {\n      base: \"cgr.dev/acme/node-fips:26@sha256:…\",   // runtime (final) stage\n      buildBase: \"cgr.dev/acme/node-fips:26-dev@sha256:…\", // optional; defaults to BUILD_IMAGE\n    },\n  },\n});\n```\n\nAlso accept the same values from build-time env vars, e.g. `TRIGGER_BUILD_BASE_IMAGE` / `TRIGGER_BUILD_BUILD_IMAGE` (with the same precedence as the `TRIGGER_BUILD_SKIP_APT_SNAPSHOT` escape hatch proposed in #4558). Then a platform team can set the base once in CI for every project instead of in each project's config.\n\nIn `generateContainerfile`: `baseImage: env.TRIGGER_BUILD_BASE_IMAGE ?? config.build.image?.base ?? BASE_IMAGE[runtime]`, and the same pattern for `BUILD_IMAGE`. Nothing changes when neither is set.\n\nThe override has to live on the CLI side. The Containerfile is generated and built during `trigger deploy`, and the supervisor only runs the digest it's given, so the webapp and Helm chart have nothing to hook into.\n\nDocument the contract the generated Containerfile already relies on, plus a \"you own this image\" caveat:\n\n1. `node` on `PATH` at the runtime's major version.\n2. The [`DEFAULT_PACKAGES`](https://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/cli-v3/src/deploy/buildImage.ts#L734): `busybox`, `ca-certificates`, `dumb-init` (the [entrypoint](https://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/cli-v3/src/deploy/buildImage.ts#L1032)), `git`, `openssl`.\n3. A `node` user, because the final stage runs `USER node`.\n4. glibc, for native modules built in the build stage.\n5. `image.pkgs`, and the extensions that emit `apt-get` (`aptGet`, `playwright`, …), assume Debian. When a custom base is set, the CLI should either reject them with a clear error or leave package installation to the image owner.\n\n### Describe alternate solutions\n\n- **`yarn patch` the `BASE_IMAGE` constant (what we do today).** It works, but every CLI bump needs re-validation, and the digest bumps need their own automation.\n- **Rebase or rewrite the image after push.** Doesn't work: finalize records the digest before anything could change it.\n- **Swap the base with `image.instructions`.** Doesn't work: instructions run inside `FROM base` and can't change what `base` is.\n- **Let users supply the whole Containerfile** (raised as an alternative in #1210). This is far more surface area than a base override, and it would break whenever the generated stages change.\n\n### Additional information\n\n- Related: #1210 (needed a CA-cert injection hook, worked around by patching CLI internals), #4558 / #4581 / #4602 / #4607 (introduced the pinned prebuilt bases this would override), #2911 (Docker Hub rate limits pulling base images).\n- No existing issue covers this. We searched for base image, custom image, Containerfile, FIPS, hardened and Chainguard.\n- **Possible follow-up (not part of this request):** an instance-level policy, set through webapp env / Helm values, that pins or allow-lists the base images deploys to that instance may use, enforced when the deploy is created. That would make \"every task image on this instance is FIPS\" provable from the server side, not only by CI convention.\n- This applies to any regulated self-hoster (FedRAMP, DoD IL, HIPAA/PCI hardening, internal golden images), not just FIPS.\n- Happy to contribute the PR. It looks like one config field plus a two-line fallback in `buildImage.ts`, plus docs.\n\n","author":{"url":"https://github.com/brentshulman-silkline","@type":"Person","name":"brentshulman-silkline"},"datePublished":"2026-10-05T22:12:32Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/5002"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:dd509ef6-122f-51f4-2677-358b0922eb56
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9A8C:1F642:1309371:1AA2CEB:6AFADE44
html-safe-noncec6a26c2c331a302dac0476dc3eabd739d2537bca6c6cb8db9abcf0513110be92
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QThDOjFGNjQyOjEzMDkzNzE6MUFBMkNFQjo2QUZBREU0NCIsInZpc2l0b3JfaWQiOiI1MDAxMjUzNTU1NTYyNzk4NjYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac58af01614af91d0ae757c843723f4c477ea0acd199b163c3730429e50be2130e
hovercard-subject-tagissue:5719630778
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/5002/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0b8f1c2c873aa0ea931ceeff79a0b844c93ca582f948fee6e354e02e0b226128/triggerdotdev/trigger.dev/issues/5002
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0b8f1c2c873aa0ea931ceeff79a0b844c93ca582f948fee6e354e02e0b226128/triggerdotdev/trigger.dev/issues/5002
og:image:altIs your feature request related to a problem? Please describe. We self-host Trigger.dev inside a FedRAMP boundary. FedRAMP (NIST SC-13) requires the task runtime to use a FIPS-validated cryptograph...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrentshulman-silkline
hostnamegithub.com
expected-hostnamegithub.com
None9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2
turbo-cache-controlno-preview
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
disable-turbofalse
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
react-app-nameissues

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/issues/5002#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F5002
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%2Fissues%2F5002
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/5002
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/5002
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/5002
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
https://github.com/triggerdotdev/trigger.dev
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/5002
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/5002
#5003https://github.com/triggerdotdev/trigger.dev/pull/5003
feat: allow overriding the deploy base image per runtime (FIPS / hardened bases)https://github.com/triggerdotdev/trigger.dev/issues/5002#top
#5003https://github.com/triggerdotdev/trigger.dev/pull/5003
https://github.com/brentshulman-silkline
brentshulman-silklinehttps://github.com/brentshulman-silkline
on Oct 5, 2026https://github.com/triggerdotdev/trigger.dev/issues/5002#issue-5719630778
BASE_IMAGEhttps://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/cli-v3/src/deploy/buildImage.ts#L711-L720
BUILD_IMAGEhttps://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/cli-v3/src/deploy/buildImage.ts#L722-L731
one pointhttps://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/cli-v3/src/deploy/buildImage.ts#L818
FROM base AS finalhttps://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/cli-v3/src/deploy/buildImage.ts#L1007-L1009
image.instructions / image.pkgshttps://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/core/src/v3/build/extensions.ts#L60-L67
build.extensionshttps://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/core/src/v3/config.ts#L208-L225
#4558https://github.com/triggerdotdev/trigger.dev/pull/4558
DEFAULT_PACKAGEShttps://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/cli-v3/src/deploy/buildImage.ts#L734
entrypointhttps://github.com/triggerdotdev/trigger.dev/blob/eb04c3191e3698c3ec4e07fb384c1ed3d9855923/packages/cli-v3/src/deploy/buildImage.ts#L1032
feat: Allow injecting ca cert in project #1210https://github.com/triggerdotdev/trigger.dev/issues/1210
feat: Allow injecting ca cert in project #1210https://github.com/triggerdotdev/trigger.dev/issues/1210
feat(deployments): install deployed image base packages from a pinned Debian snapshot #4558https://github.com/triggerdotdev/trigger.dev/pull/4558
feat: publish deploy base images to DockerHub #4581https://github.com/triggerdotdev/trigger.dev/pull/4581
feat(cli): build deployment images on prebuilt base images #4602https://github.com/triggerdotdev/trigger.dev/pull/4602
feat(base-images): immutable per-publish image tags #4607https://github.com/triggerdotdev/trigger.dev/pull/4607
bug: Native build server fails with Docker Hub rate limit (429) when pulling base images #2911https://github.com/triggerdotdev/trigger.dev/issues/2911
https://github.com/brentshulman-silkline
brentshulman-silklinehttps://github.com/brentshulman-silkline
on Oct 5, 2026https://github.com/triggerdotdev/trigger.dev/issues/5002#issuecomment-6004300751
#5003https://github.com/triggerdotdev/trigger.dev/pull/5003
https://github.com/brentshulman-silkline
brentshulman-silklinehttps://github.com/brentshulman-silkline
on Oct 5, 2026https://github.com/triggerdotdev/trigger.dev/issues/5002#issuecomment-6004505350
#5004https://github.com/triggerdotdev/trigger.dev/issues/5004
#5005https://github.com/triggerdotdev/trigger.dev/pull/5005
Sign up for freehttps://github.com/signup?return_to=https://github.com/triggerdotdev/trigger.dev/issues/5002
Sign in to commenthttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/5002
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.