Commit Graph

13 Commits

Author SHA1 Message Date
Nalin Dahyabhai
10a8d3bf0b Make a note to distinguish compression of layers
Add a TODO note that, once we can pull in a newer image-spec, make use
of its new media type to distinguish between compressed and uncompressed
layers in the output image.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-28 08:34:15 +01:00
Nalin Dahyabhai
a15a927d8d Compress committed image layers by default
When committing an image, default to compressing the layer using Gzip.
This can lead to problems pulling the image back out of
containers/storage if the package that pulls it out was built using a
different version of go, but it works around a problem where
containers/image might not be able to detect that an uncompressed layer
is actually a layer.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-28 08:18:02 +01:00
Nalin Dahyabhai
5a2e7ac561 Make the --signature-policy flag "from"-only
Change the --signature-policy flag from being a global option to being
specific to the "from" command, which is the only place it's used.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-28 06:09:49 +01:00
Nalin Dahyabhai
84afb117be Roll back to stable versions of some of our deps
Roll back to slightly older versions of some of our dependencies in
order to get them all to play well together.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-27 22:20:28 +01:00
Nalin Dahyabhai
02f30c773e Rename: lumper -> buildah
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-27 16:55:04 +01:00
Nalin Dahyabhai
59139af5c7 Add the container layer to the image metadata
Add the container's layer to the layer list in the image configuration,
along with a history entry for it.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-27 15:38:32 +01:00
Nalin Dahyabhai
80691e654d mount: print the mountpoint
After we mount a filesystem, print the root filesystem location.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-27 15:37:15 +01:00
Nalin Dahyabhai
57841cce77 Rename: stevedore -> lumper
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-27 13:26:51 +01:00
Nalin Dahyabhai
4899f4f7fb Flesh out v1 image configuration a bit
Basically finish building v1 images.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-27 13:26:51 +01:00
Nalin Dahyabhai
eca2a67a47 Rough out the beginnings of v1 config updates
Rough out simple image configuration edits, though apparently there's
more out there than just OCI v1.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-27 12:29:37 +01:00
Nalin Dahyabhai
e1927c12bb Log when we finish reading a layer
Log a debug message when we're finished reading a layer, as we already
did for the configuration blob.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-27 12:28:41 +01:00
Nalin Dahyabhai
aa61e23080 Parameterize the binary name
We're going to change the package name, likely sooner rather than later,
so parameterize it.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-27 12:28:12 +01:00
Nalin Dahyabhai
03b2e90dba Initial version, needs work
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-26 17:59:49 +01:00