From eb4b40640349c775512636fa6fda3d1d0b5413f6 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Thu, 15 Sep 2022 11:31:54 -0700 Subject: [PATCH] containers.image: update to 5.22.0 Dropping the patch to add docker.io search path. Upstream strongly recommends: * using fully qualified names * not adding registries that allow anonymous uploads Adding the docker.io registry to the search path, according to the RedHat containers team, substantially decreases the security of their tools that Void Linux distributes. This is a breaking change. Users will need to use "docker.io/" to pull/run images from now on, or add docker.io to the search path themselves. --- srcpkgs/containers.image/patches/dockerhub.patch | 11 ----------- srcpkgs/containers.image/template | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 srcpkgs/containers.image/patches/dockerhub.patch diff --git a/srcpkgs/containers.image/patches/dockerhub.patch b/srcpkgs/containers.image/patches/dockerhub.patch deleted file mode 100644 index 99482c3f0b5..00000000000 --- a/srcpkgs/containers.image/patches/dockerhub.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/registries.conf -+++ b/registries.conf -@@ -9,7 +9,7 @@ - # Registries to search for images that are not fully-qualified. - # i.e. foobar.com/my_image:latest vs my_image:latest - [registries.search] --registries = [] -+registries = ['docker.io'] - - # Registries that do not use TLS when pulling images or uses self-signed - # certificates. diff --git a/srcpkgs/containers.image/template b/srcpkgs/containers.image/template index f587e0ef364..ce6a9821dad 100644 --- a/srcpkgs/containers.image/template +++ b/srcpkgs/containers.image/template @@ -1,6 +1,6 @@ # Template file for 'containers.image' pkgname=containers.image -version=5.0.0 +version=5.22.0 revision=1 wrksrc="image-${version}" conf_files="/etc/containers/registries.conf /etc/containers/policy.json" @@ -10,7 +10,7 @@ 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=99440d59728ed741e6171046cf3a6a820c2e3414cd9c17ee640efd289a015c3f +checksum=5333fdb1b913250ff9f5f8bf13f986a36a82a9ef79132fc1a5d850ac95b3428d do_build() { mkdir -p build