mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #707 from unclejack/411-add-arch-field
411 add architecture field
This commit is contained in:
commit
a373c770b6
2 changed files with 2 additions and 0 deletions
1
graph.go
1
graph.go
|
@ -107,6 +107,7 @@ func (graph *Graph) Create(layerData Archive, container *Container, comment, aut
|
|||
DockerVersion: VERSION,
|
||||
Author: author,
|
||||
Config: config,
|
||||
Architecture: "x86_64",
|
||||
}
|
||||
if container != nil {
|
||||
img.Parent = container.Image
|
||||
|
|
1
image.go
1
image.go
|
@ -27,6 +27,7 @@ type Image struct {
|
|||
DockerVersion string `json:"docker_version,omitempty"`
|
||||
Author string `json:"author,omitempty"`
|
||||
Config *Config `json:"config,omitempty"`
|
||||
Architecture string `json:"architecture,omitempty"`
|
||||
graph *Graph
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue