From d7b5e5afb73bb55881f4b3d27d4f4ed4951e731a Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Mon, 7 Dec 2020 15:48:49 +0300 Subject: [PATCH] [Ubuntu] Fix add key in containers.sh script (#2196) * fix add key * fix apt-key add --- images/linux/scripts/installers/containers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/linux/scripts/installers/containers.sh b/images/linux/scripts/installers/containers.sh index 5b7a70349..d13a3f349 100644 --- a/images/linux/scripts/installers/containers.sh +++ b/images/linux/scripts/installers/containers.sh @@ -9,7 +9,7 @@ install_packages=(podman buildah skopeo) source /etc/os-release sh -c "echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/x${NAME}_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x${NAME}_${VERSION_ID}/Release.key -O Release.key -apt-key add - < Release.key +apt-key add Release.key apt-get update -qq apt-get -qq -y install ${install_packages[@]} mkdir -p /etc/containers