Skip to content

Commit

Permalink
Modify manifest config to conform to image-spec
Browse files Browse the repository at this point in the history
Resolves #115
Signed-off-by: Peter Engelbert <[email protected]>
  • Loading branch information
pmengelbert committed Apr 6, 2020
1 parent 787afbe commit 8694811
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion conformance/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,16 @@ func init() {

client.SetLogger(logger)

configContent = []byte("{}\n")
configContent = []byte(`
{
"architecture": "amd64",
"os": "linux",
"rootfs": {
"diff_ids": [],
"type": "layers"
}
}
`)
configContentLength = strconv.Itoa(len(configContent))
blobDigest = godigest.FromBytes(configContent).String()
if v := os.Getenv(envVarBlobDigest); v != "" {
Expand Down

0 comments on commit 8694811

Please sign in to comment.