Allow node-webapp to preserve repository Dockerfile #7

Closed
opened 2026-07-11 18:30:14 +00:00 by KofTwentyTwo · 0 comments
KofTwentyTwo commented 2026-07-11 18:30:14 +00:00 (Migrated from github.com)

Problem

node-webapp is documented as using a repository-provided Dockerfile, but generate_dockerfile.sh overwrites it with a generated distroless image. This bypasses application runtime contracts and currently causes Trivy HIGH findings in the generated Debian base.

Expected

Allow node-webapp consumers to opt into preserving and building their repository Dockerfile, fail clearly when the file is missing, and cover the behavior with tests.

## Problem `node-webapp` is documented as using a repository-provided Dockerfile, but `generate_dockerfile.sh` overwrites it with a generated distroless image. This bypasses application runtime contracts and currently causes Trivy HIGH findings in the generated Debian base. ## Expected Allow `node-webapp` consumers to opt into preserving and building their repository Dockerfile, fail clearly when the file is missing, and cover the behavior with tests.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/Munitor#7