mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
Merge branch 'dev' into main
This commit is contained in:
commit
e185e562b6
@ -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
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
},
|
},
|
||||||
"OS": {
|
"OS": {
|
||||||
"Fedora": [
|
"Fedora": [
|
||||||
"41",
|
"40",
|
||||||
"40"
|
"39"
|
||||||
],
|
],
|
||||||
"RedHat": [
|
"RedHat": [
|
||||||
"9",
|
"9",
|
||||||
|
Loading…
Reference in New Issue
Block a user