diff --git a/srcpkgs/containers.image/files/policy.json b/srcpkgs/containers.image/files/policy.json new file mode 100644 index 0000000000..d8c638a0c2 --- /dev/null +++ b/srcpkgs/containers.image/files/policy.json @@ -0,0 +1,16 @@ +{ + "default": [ + { + "type": "insecureAcceptAnything" + } + ], + "transports": { + "docker-daemon": { + "": [ + { + "type": "insecureAcceptAnything" + } + ] + } + } +} diff --git a/srcpkgs/containers.image/template b/srcpkgs/containers.image/template index 13f0bd4e64..09ce713502 100644 --- a/srcpkgs/containers.image/template +++ b/srcpkgs/containers.image/template @@ -1,16 +1,16 @@ # Template file for 'containers.image' pkgname=containers.image -version=1.5.1 +version=3.0.0 revision=1 wrksrc="image-${version}" -conf_files="/etc/containers/registries.conf" +conf_files="/etc/containers/registries.conf /etc/containers/policy.json" hostmakedepends="go-md2man" short_desc="Configuration shared by podman, buildah, and skopeo" maintainer="Cameron Nemo " license="Apache-2.0" homepage="https://github.com/containers/image" distfiles="https://github.com/containers/image/archive/v${version}.tar.gz" -checksum=369dd8a90eae5d25acd843f8eff5c571392a43582d3eced5bbdc4b3f0e81c551 +checksum=28c2a729fabe57f84f50eb26f028734ee8977588acb81aeeb63a35d23ed650e3 do_build() { mkdir -p build @@ -25,4 +25,5 @@ do_install() { vman "${man}" done vinstall registries.conf 0644 etc/containers + vinstall "${FILESDIR}/policy.json" 0644 etc/containers }