From 706d44294896e0c85769f69e9ddfbc2f57328053 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Wed, 17 May 2023 06:24:18 +0000 Subject: [PATCH] fix: install gcc for all debian releases --- distro/debian/debian.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/distro/debian/debian.go b/distro/debian/debian.go index 8f96a77..79fb50a 100644 --- a/distro/debian/debian.go +++ b/distro/debian/debian.go @@ -221,11 +221,7 @@ func ContainerCommands(km config.KernelMask) (commands []string) { pkglist := []string{ "wget", "build-essential", "libelf-dev", "git", "kmod", "linux-base", "initramfs-tools", "libssl-dev", - } - - switch release { - case Wheezy: - pkglist = append(pkglist, "'^(gcc-[0-9].[0-9]|gcc-[0-9])$'") + "'^(gcc-[0-9].[0-9]|gcc-[0-9])$'", } if release < 9 {