Merge pull request #707 from unclejack/411-add-arch-field
411 add architecture field Upstream-commit: a373c770b63982674e24704789f80e0ce15bb55d Component: engine
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user