refactor: lexical order for build opts

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/814/head
CrazyMax 3 years ago
parent 4690e14c40
commit 2890209a11
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -50,27 +50,24 @@ var (
type Options struct {
Inputs Inputs
Tags []string
Labels map[string]string
Allow []entitlements.Entitlement
BuildArgs map[string]string
Pull bool
ImageIDFile string
CacheFrom []client.CacheOptionsEntry
CacheTo []client.CacheOptionsEntry
Exports []client.ExportEntry
ExtraHosts []string
ImageIDFile string
Labels map[string]string
NetworkMode string
ShmSize opts.MemBytes
Ulimits *opts.UlimitOpt
NoCache bool
Target string
Platforms []specs.Platform
Exports []client.ExportEntry
Pull bool
Session []session.Attachable
CacheFrom []client.CacheOptionsEntry
CacheTo []client.CacheOptionsEntry
Allow []entitlements.Entitlement
// DockerTarget
ShmSize opts.MemBytes
Tags []string
Target string
Ulimits *opts.UlimitOpt
}
type Inputs struct {

Loading…
Cancel
Save