1
0

fix: install gcc for all debian releases

This commit is contained in:
dump_stack() 2023-05-17 06:24:18 +00:00
parent f7b9f538b4
commit 706d442948
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -221,11 +221,7 @@ func ContainerCommands(km config.KernelMask) (commands []string) {
pkglist := []string{ pkglist := []string{
"wget", "build-essential", "libelf-dev", "git", "wget", "build-essential", "libelf-dev", "git",
"kmod", "linux-base", "initramfs-tools", "libssl-dev", "kmod", "linux-base", "initramfs-tools", "libssl-dev",
} "'^(gcc-[0-9].[0-9]|gcc-[0-9])$'",
switch release {
case Wheezy:
pkglist = append(pkglist, "'^(gcc-[0-9].[0-9]|gcc-[0-9])$'")
} }
if release < 9 { if release < 9 {