docker

package
v0.0.1-test Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllArchs = []string{"amd64", "armv7", "arm64"}

AllArchs is a list of all supported Docker image architectures.

Functions

func BuildImage

func BuildImage(version string, arch config.Architecture, grafanaDir string, useUbuntu, shouldSave bool, edition config.Edition) ([]string, error)

BuildImage builds a Docker image. The image tag is returned.

func Init

func Init() error

Init initializes the OS for Docker image building.

Types

type Config

type Config struct {
	Bucket        string
	Edition       string
	Tag           string
	Distribution  []config.Distribution
	Archs         []config.Architecture
	DockerHubRepo string
	Security      bool
}

Jump to

Keyboard shortcuts

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