From 4577df4dea7e97948910c4472412b7fdad6f7145 Mon Sep 17 00:00:00 2001 From: Angaddeep Singh <159604852+Angxddeep@users.noreply.github.com> Date: Fri, 1 Nov 2024 00:44:51 +0530 Subject: [PATCH] feat(docker-setup): fedora support (#707) * Docker Setup for Fedora * Update core/tabs/applications-setup/docker-setup.sh Co-authored-by: JEEVITHA KANNAN K S --------- Co-authored-by: JEEVITHA KANNAN K S --- core/tabs/applications-setup/docker-setup.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/core/tabs/applications-setup/docker-setup.sh b/core/tabs/applications-setup/docker-setup.sh index afcd1572..4844d10e 100755 --- a/core/tabs/applications-setup/docker-setup.sh +++ b/core/tabs/applications-setup/docker-setup.sh @@ -26,6 +26,12 @@ 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 --now docker + ;; zypper) "$ESCALATION_TOOL" "$PACKAGER" --non-interactive install docker "$ESCALATION_TOOL" systemctl enable docker @@ -49,6 +55,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 ;;