Skip to content

Commit fda519b

Browse files
committed
Replace usage of deprecated apt-key
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
1 parent d8a3486 commit fda519b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install-containerd-helpers

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function install_debian_containerd() {
6565
# Make sure ca-certificates are up-to-date
6666
update-ca-certificates -f
6767

68-
curl -fsSL "${REPO_URL}/gpg" | apt-key add -
68+
curl -fsSL "${REPO_URL}/gpg" | tee /etc/apt/trusted.gpg.d/containerd.gpg
6969

7070
if [ "${DIST_VERSION}" = "sid" ]; then
7171
echo 'Debian sid ("unstable") cannot be used for packaging: replace with the actual codename'

0 commit comments

Comments
 (0)