summaryrefslogtreecommitdiff
path: root/vendor/github.com/projectatomic/buildah/image.go
diff options
context:
space:
mode:
authorumohnani8 <umohnani@redhat.com>2018-05-01 13:25:30 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-01 20:23:45 +0000
commite98ad5751d12b6ef052803b30fd397101952294e (patch)
tree9e6c0ab61205f1e26c417f5ebfdb393268f94c6a /vendor/github.com/projectatomic/buildah/image.go
parent7a0a8552cb4af7af6fc6fb458fd41776f57f543c (diff)
downloadpodman-e98ad5751d12b6ef052803b30fd397101952294e.tar.gz
podman-e98ad5751d12b6ef052803b30fd397101952294e.tar.bz2
podman-e98ad5751d12b6ef052803b30fd397101952294e.zip
Vendor in latest buildah
Adds in --iidfile flag to podman build. Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #707 Approved by: mheon
Diffstat (limited to 'vendor/github.com/projectatomic/buildah/image.go')
-rw-r--r--vendor/github.com/projectatomic/buildah/image.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/projectatomic/buildah/image.go b/vendor/github.com/projectatomic/buildah/image.go
index e5a49f1f9..a54643806 100644
--- a/vendor/github.com/projectatomic/buildah/image.go
+++ b/vendor/github.com/projectatomic/buildah/image.go
@@ -46,6 +46,7 @@ type containerImageRef struct {
dconfig []byte
created time.Time
createdBy string
+ historyComment string
annotations map[string]string
preferredManifestType string
exporting bool
@@ -303,6 +304,7 @@ func (i *containerImageRef) NewImageSource(ctx context.Context, sc *types.System
Created: &i.created,
CreatedBy: i.createdBy,
Author: oimage.Author,
+ Comment: i.historyComment,
EmptyLayer: false,
}
oimage.History = append(oimage.History, onews)
@@ -310,6 +312,7 @@ func (i *containerImageRef) NewImageSource(ctx context.Context, sc *types.System
Created: i.created,
CreatedBy: i.createdBy,
Author: dimage.Author,
+ Comment: i.historyComment,
EmptyLayer: false,
}
dimage.History = append(dimage.History, dnews)
@@ -521,6 +524,7 @@ func (b *Builder) makeImageRef(manifestType string, exporting bool, compress arc
dconfig: dconfig,
created: created,
createdBy: b.CreatedBy(),
+ historyComment: b.HistoryComment(),
annotations: b.Annotations(),
preferredManifestType: manifestType,
exporting: exporting,