[PR #21] [MERGED] Fix techdocs-builder release job by adding native Node build toolchain #22
Labels
No labels
pull-request
released
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
webgrip/infrastructure#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/webgrip/infrastructure/pull/21
Author: @Copilot
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @Ryangr0
Base:
main← Head:copilot/fix-release-action-failure📝 Commits (2)
8d80ab4Initial plan6586e5bfix(techdocs-builder): add node-gyp build deps in release image build📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
ops/docker/techdocs-builder/Dockerfile(+2 -0)📄 Description
The
Release (ops/docker/techdocs-builder, techdocs-builder)GitHub Actions job was failing during Docker image build.@techdocs/clitransitively installsbetter-sqlite3, which fell back tonode-gypon Alpine/Node 24 and failed because the required build toolchain was missing.Root cause
nodestage did not includenode-gypprerequisites (python3,make,g++) before global npm installs.Change
ops/docker/techdocs-builder/Dockerfileto install native build dependencies in thenodestage prior to:@techdocs/cli@1.9.0@mermaid-js/mermaid-cli@11.4.2Dockerfile update
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.