dockerfile

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package dockerfile includes template Dockerfile

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(repo, tag string) ([]byte, error)

Parse function returns ready to use template

Types

type Template

type Template struct {
	// Repo is the image repository
	Repo string
	// Tag is the image tag
	Tag string
	// SourceDir = /build/source
	SourceDir string
}

Template struct defines parameters passed to dockerfile template.

Jump to

Keyboard shortcuts

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