Merge branch 'dev' into main

This commit is contained in:
qiaofeng1227 2025-01-03 15:09:41 +08:00
commit e185e562b6
2 changed files with 10 additions and 3 deletions

View File

@ -106,6 +106,13 @@ install_docker_custom() {
sudo mkdir -p /usr/local/lib/docker/cli-plugins/ sudo mkdir -p /usr/local/lib/docker/cli-plugins/
sudo curl -SL "https://github.com/docker/compose/releases/latest/download/docker-compose-linux-$(uname -m)" -o /usr/local/lib/docker/cli-plugins/docker-compose sudo curl -SL "https://github.com/docker/compose/releases/latest/download/docker-compose-linux-$(uname -m)" -o /usr/local/lib/docker/cli-plugins/docker-compose
sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose
elif [ "$lsb_dist" = "openeuler" ]; then
sudo dnf update -y
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --add-repo=https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
sudo sed -i 's+$releasever+8+' /etc/yum.repos.d/docker-ce.repo
sudo dnf makecache
sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
else else
repos=("${repos_base[@]/%//${lsb_dist}/docker-ce.repo}") repos=("${repos_base[@]/%//${lsb_dist}/docker-ce.repo}")
sudo dnf remove -y podman || sudo yum remove -y podman sudo dnf remove -y podman || sudo yum remove -y podman

View File

@ -11,8 +11,8 @@
}, },
"OS": { "OS": {
"Fedora": [ "Fedora": [
"41", "40",
"40" "39"
], ],
"RedHat": [ "RedHat": [
"9", "9",