From a678b890a4f00ab64a0a3750c51625ab0979750f Mon Sep 17 00:00:00 2001 From: Angaddeep Singh Date: Mon, 30 Sep 2024 23:12:40 +0530 Subject: [PATCH 1/2] Docker Setup for Fedora --- core/tabs/applications-setup/docker-setup.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/core/tabs/applications-setup/docker-setup.sh b/core/tabs/applications-setup/docker-setup.sh index afcd1572..64fd1b6e 100755 --- a/core/tabs/applications-setup/docker-setup.sh +++ b/core/tabs/applications-setup/docker-setup.sh @@ -26,6 +26,13 @@ install_docker() { apt-get|nala) curl -fsSL https://get.docker.com | sh ;; + dnf) + "$ESCALATION_TOOL" "$PACKAGER" -y install dnf-plugins-core + "$ESCALATION_TOOL" "$PACKAGER" config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo + "$ESCALATION_TOOL" "$PACKAGER" -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin + "$ESCALATION_TOOL" systemctl enable docker + "$ESCALATION_TOOL" systemctl start docker + ;; zypper) "$ESCALATION_TOOL" "$PACKAGER" --non-interactive install docker "$ESCALATION_TOOL" systemctl enable docker @@ -49,6 +56,11 @@ install_docker_compose() { apt-get|nala) "$ESCALATION_TOOL" "$PACKAGER" install -y docker-compose-plugin ;; + dnf) + "$ESCALATION_TOOL" "$PACKAGER" -y install dnf-plugins-core + "$ESCALATION_TOOL" "$PACKAGER" config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo + "$ESCALATION_TOOL" "$PACKAGER" install -y docker-compose-plugin + ;; zypper) "$ESCALATION_TOOL" "$PACKAGER" --non-interactive install docker-compose ;; From 27a1343948663ae1feacdfd8b722e7f3c97a00a3 Mon Sep 17 00:00:00 2001 From: Angaddeep Singh Date: Sun, 20 Oct 2024 20:42:54 +0530 Subject: [PATCH 2/2] Update core/tabs/applications-setup/docker-setup.sh Co-authored-by: JEEVITHA KANNAN K S --- core/tabs/applications-setup/docker-setup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/tabs/applications-setup/docker-setup.sh b/core/tabs/applications-setup/docker-setup.sh index 64fd1b6e..4844d10e 100755 --- a/core/tabs/applications-setup/docker-setup.sh +++ b/core/tabs/applications-setup/docker-setup.sh @@ -30,8 +30,7 @@ install_docker() { "$ESCALATION_TOOL" "$PACKAGER" -y install dnf-plugins-core "$ESCALATION_TOOL" "$PACKAGER" config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo "$ESCALATION_TOOL" "$PACKAGER" -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin - "$ESCALATION_TOOL" systemctl enable docker - "$ESCALATION_TOOL" systemctl start docker + "$ESCALATION_TOOL" systemctl enable --now docker ;; zypper) "$ESCALATION_TOOL" "$PACKAGER" --non-interactive install docker