packages feed

hocker 1.0.0 → 1.0.1

raw patch · 3 files changed

+10/−4 lines, 3 files

Files

CHANGELOG.md view
@@ -1,3 +1,11 @@ # Changelog++## 1.0.1+### Fixed++- `hocker-manifest` said it accepted the manifest list media type when+  requesting an image manifest for a docker image but it doesn't know what to do+  with that, the manifest list accepts string has been removed+ ## 1.0.0 - Initial release
hocker.cabal view
@@ -1,5 +1,5 @@ name:                hocker-version:             1.0.0+version:             1.0.1 synopsis:            Interact with the docker registry and generate nix build instructions homepage:            https://github.com/awakesecurity/hocker#readme Bug-Reports:         https://github.com/awakesecurity/hocker/issues
src/Network/Wreq/Docker/Registry.hs view
@@ -120,9 +120,7 @@   where     mkURL (ImageName n) (ImageTag t) r = C8.unpack (serializeURIRef' $ Hocker.Lib.joinURIPath [n, "manifests", t] r)     accept = Wreq.header "Accept" .~-      [ "application/vnd.docker.distribution.manifest.v2+json"-      , "application/vnd.docker.distribution.manifest.list.v2+json"-      ]+      [ "application/vnd.docker.distribution.manifest.v2+json" ]  -- | Retrieve the configuratino JSON of an image by its hash digest -- (found in the V2 manifest for an image given by a name and a tag).