Commit Graph

4620 Commits

Author SHA1 Message Date
Nalin Dahyabhai 18c3ab42ab Add a script for use in a lightning talk
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-28 11:27:34 +01:00
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 d0a4816fe1 Ensure that we always set GOPATH right for builds
Do some symlink-based trickery to make sure that we can always set
GOPATH to a value that we expect to work.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-28 06:24:04 +01:00
Nalin Dahyabhai 1497e5af35 Suss out build tags, add a missing Travis dep
Figure out the right build tags to use for btrfs and libdm support, and
make sure we tell Travis to install libgpgme11-dev, because we also
build against it.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-28 06:20:22 +01:00
Nalin Dahyabhai 6e489ae1f0 Add missing github.com/gorilla/context package
The github.com/gorilla/mux package requires github.com/gorilla/context,
so we need to vendor it, too.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-28 06:14:18 +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 80ea423b9d Add an initial configuration for Travis
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-28 06:00:59 +01:00
Nalin Dahyabhai 931372925b Include our vendored dependencies
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-28 05:59:37 +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
Nalin Dahyabhai 8b7705022a Initial commit 2017-01-26 17:59:13 +01:00