dockerfile

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: MIT Imports: 7 Imported by: 0

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

func Render(w io.Writer, r io.Reader, styles *stripes.Styles)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL