Documentation
¶
Overview ¶
Package dockerfile registers the Dockerfile renderer with the stripes registry. Import for side effects to enable text/x-dockerfile support:
import _ "github.com/firetiger-oss/stripes/dockerfile"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Render ¶
Render writes a styled rendering of the Dockerfile (or Containerfile) read from r to w, with ANSI styling applied to instruction keywords, comments, flags, quoted strings, heredoc bodies, and line-continuation backslashes.
Parsing is done via github.com/moby/buildkit/frontend/dockerfile/parser so that line continuations, escape directives, parser directives, and heredocs are handled the same way docker build itself handles them.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.