#!/bin/bash echo "下载docker公钥..." wget -qO - "https://download.docker.com/linux/debian/gpg" | gpg \ --dearmor | tee \ "usr/share/extra-repo-book/trusted.gpg.d/docker.gpg" > /dev/null echo "完成" echo "下载microsoft公钥..." wget -qO - "https://packages.microsoft.com/keys/microsoft.asc" | gpg \ --dearmor | tee \ "usr/share/extra-repo-book/trusted.gpg.d/ms.gpg" > /dev/null echo "完成"