build(docker): use scratch-based static-web-server runtime image #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.