27 lines
607 B
Bash
Executable File
27 lines
607 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
echo "下载docker公钥..."
|
|
|
|
wget -qO - "https://download.docker.com/linux/debian/gpg" \
|
|
| gpg --dearmor --yes -o "usr/share/extra-repo-book/trusted.gpg.d/docker.gpg"
|
|
|
|
echo "完成"
|
|
echo ""
|
|
|
|
echo "下载microsoft公钥..."
|
|
|
|
wget -qO - "https://packages.microsoft.com/keys/microsoft.asc" \
|
|
| gpg --dearmor --yes -o "usr/share/extra-repo-book/trusted.gpg.d/microsoft.gpg"
|
|
|
|
echo "完成"
|
|
echo ""
|
|
|
|
|
|
echo "下载mysql公钥..."
|
|
|
|
wget -qO - "https://repo.mysql.com/RPM-GPG-KEY-mysql-2023" \
|
|
| gpg --dearmor --yes -o "usr/share/extra-repo-book/trusted.gpg.d/mysql.gpg"
|
|
|
|
echo "完成"
|
|
echo "" |