build(docker): use scratch-based static-web-server runtime image #69
No reviewers
Labels
No labels
bug
cannot reproduce
duplicate
enhancement
help wanted
invalid
need info
need triage
need verification
not a bug
question
wontfix
cannot reproduce
need info
not a bug
bug
duplicate
enhancement
help wanted
invalid
need triage
need verification
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
unitoo/website!69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "build/sws-scratch-runtime-image"
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?
Switch the runtime base image from the :2-alpine tag to the
unsuffixed :2 tag, which is the scratch-based static-web-server
variant. It produces a smaller final image and ships no shell,
reducing the runtime attack surface. The builder stage and the
copied _site are unaffected.
Add a comment documenting why the unsuffixed tag is used so the
choice is not mistaken for an oversight.