skopeo: 0.1.23 to 0.1.27
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
a0be858835
commit
eb1baf2f10
@ -4,7 +4,7 @@ with stdenv.lib;
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "skopeo-${version}";
|
||||
version = "0.1.23";
|
||||
version = "0.1.27";
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/projectatomic/skopeo";
|
||||
@ -17,7 +17,7 @@ buildGoPackage rec {
|
||||
inherit rev;
|
||||
owner = "projectatomic";
|
||||
repo = "skopeo";
|
||||
sha256 = "1axxnm87fpsd7q28v951ilhmzd42k8wyh741gdfdcajjwglfj0nn";
|
||||
sha256 = "1xwwzxjczz8qdk1rf0h78qd3vk9mxxb8yi6f8kfqvcdcsvkajd5g";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -22,17 +22,4 @@ index 50e29b2..7108df5 100644
|
||||
if c.GlobalBool("insecure-policy") {
|
||||
policy = &signature.Policy{Default: []signature.PolicyRequirement{signature.NewPRInsecureAcceptAnything()}}
|
||||
} else if policyPath == "" {
|
||||
diff --git a/vendor/github.com/containers/image/docker/docker_client.go b/vendor/github.com/containers/image/docker/docker_client.go
|
||||
index b989770..697d2ee 100644
|
||||
--- a/vendor/github.com/containers/image/docker/docker_client.go
|
||||
+++ b/vendor/github.com/containers/image/docker/docker_client.go
|
||||
@@ -154,6 +154,9 @@ func setupCertificates(dir string, tlsc *tls.Config) error {
|
||||
if os.IsNotExist(err) {
|
||||
return nil
|
||||
}
|
||||
+ if os.IsPermission(err) {
|
||||
+ return nil
|
||||
+ }
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user