Skip to content

fix(docker): replace grunt with build-pipeline.js in web-apps Dockerfile#150

Merged
moodyjmz merged 1 commit into
mainfrom
fix/dockerfile-webpack-pipeline
Jun 29, 2026
Merged

fix(docker): replace grunt with build-pipeline.js in web-apps Dockerfile#150
moodyjmz merged 1 commit into
mainfrom
fix/dockerfile-webpack-pipeline

Conversation

@moodyjmz

Copy link
Copy Markdown
Member

Summary

  • Removes references to build/sprites/ and build/plugins/grunt-inline/ — both deleted by the webpack migration (build: replace Grunt+r.js with webpack 5 — Phase E complete #109)
  • Removes grunt-cli from the base image global install — no Gruntfile to run
  • Replaces the grunt RUN step with node scripts/build-pipeline.js, matching what CI now does

Root cause

PR #109 (webpack migration) deleted build/Gruntfile.js and build/sprites/ but did not update .docker/web-apps.bake.Dockerfile. The Docker build failed immediately on the COPY web-apps/build/sprites/package*.json line because that directory no longer exists.

Test plan

  • DS Docker build (docker-bake) succeeds with updated web-apps pointer
  • All 6 editors load in the resulting image

🤖 Generated with Claude Code

build/sprites/ and build/Gruntfile.js were removed by the webpack migration.
The Dockerfile was not updated and referenced both, breaking all Docker builds
after the merge of the webpack migration PR.

- Remove COPY of build/sprites/package*.json (directory deleted)
- Remove COPY of build/plugins/grunt-inline/ (grunt's inline step, now
  handled by inline-svgs.js via build-pipeline.js)
- Remove grunt-cli from global npm install (no Gruntfile to run)
- Replace `grunt` RUN with `node scripts/build-pipeline.js`

Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
@moodyjmz moodyjmz requested a review from a team as a code owner June 29, 2026 13:19
@moodyjmz moodyjmz requested review from MonaAghili and rikled and removed request for a team June 29, 2026 13:19

@Aiiaiiio Aiiaiiio left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Trust-based lgtm

@moodyjmz moodyjmz self-assigned this Jun 29, 2026
@moodyjmz moodyjmz merged commit be0c7c0 into main Jun 29, 2026
3 checks passed
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.

2 participants