Skip to content

feat(nodejs): add base images for Node.js weblogs#7013

Draft
rochdev wants to merge 1 commit into
mainfrom
rochdev/feat-nodejs-base-images
Draft

feat(nodejs): add base images for Node.js weblogs#7013
rochdev wants to merge 1 commit into
mainfrom
rochdev/feat-nodejs-base-images

Conversation

@rochdev
Copy link
Copy Markdown
Member

@rochdev rochdev commented May 22, 2026

Summary

  • Adds *.base.Dockerfile files for express4, express5, fastify, express4-typescript, and nextjs weblogs
  • Base images use bun for dependency installation with frozen lockfiles
  • Adds docker-bake.hcl for building all base images at once
  • Adds build_nodejs_base_images.sh script
  • Updates CI (ci.yml, system-tests.yml) with a build-nodejs-base-images label trigger
  • Updates get_pr_merged_labels.sh to handle the new label
  • Main Dockerfiles are simplified to FROM datadog/system-tests:<weblog>.base-v1

Dependencies

  • Should be merged after #7011 (gzip→zst) since it uses zstd in build.sh

Notes

Test plan

  • Add the build-nodejs-base-images label and verify base images build in CI
  • Verify weblogs using FROM datadog/system-tests:express4.base-v1 build and run correctly

🤖 Generated with Claude Code

Introduces pre-built base images for Node.js weblogs (express4, express5,
fastify, express4-typescript, nextjs) published to Docker Hub via a bake
file. Adds build_nodejs_base_images.sh script and CI integration with
a build-nodejs-base-images label trigger.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

utils/build/build_nodejs_base_images.sh                                 @DataDog/system-tests-core
utils/build/docker/nodejs/docker-bake.hcl                               @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/express4-typescript.base.Dockerfile           @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/express4-typescript/bun.lock                  @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/express4.base.Dockerfile                      @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/express4/bun.lock                             @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/express5.base.Dockerfile                      @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/express5/bun.lock                             @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/fastify.base.Dockerfile                       @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/fastify/bun.lock                              @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/nextjs.base.Dockerfile                        @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/nextjs/bun.lock                               @DataDog/dd-trace-js @DataDog/system-tests-core
.github/workflows/ci.yml                                                @DataDog/system-tests-core
.github/workflows/system-tests.yml                                      @DataDog/system-tests-core
docs/edit/update-docker-images.md                                       @DataDog/system-tests-core
utils/build/build.sh                                                    @DataDog/system-tests-core
utils/build/docker/nodejs/express4-typescript.Dockerfile                @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/express4.Dockerfile                           @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/express5.Dockerfile                           @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/fastify.Dockerfile                            @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/nextjs.Dockerfile                             @DataDog/dd-trace-js @DataDog/system-tests-core
utils/build/docker/nodejs/uds-express4.Dockerfile                       @DataDog/dd-trace-js @DataDog/system-tests-core
utils/scripts/get_pr_merged_labels.sh                                   @DataDog/system-tests-core

@datadog-official
Copy link
Copy Markdown

datadog-official Bot commented May 22, 2026

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 26 Pipeline jobs failed

Testing the test | System Tests (nodejs, dev) / End-to-end #1 / express4 1   View in Datadog   GitHub Actions

🔄 Retry job. This looks flaky and may succeed on retry. Error: manifest for datadog/system-tests:express4.base-v1 not found.

Testing the test | System Tests (nodejs, dev) / End-to-end #1 / express5 1   View in Datadog   GitHub Actions

🔄 Retry job. This looks flaky and may succeed on retry. Error manifest for datadog/system-tests:express5.base-v1 not found: manifest unknown.

Testing the test | System Tests (nodejs, dev) / End-to-end #1 / nextjs 1   View in Datadog   GitHub Actions

🔄 Retry job. This looks flaky and may succeed on retry. Error: manifest for datadog/system-tests:nextjs.base-v1 not found: manifest unknown.

View all 26 failed jobs.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 25fba47 | Docs | Datadog PR Page | Give us feedback!

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.

1 participant