fix: install gcc for all debian releases
This commit is contained in:
parent
f7b9f538b4
commit
706d442948
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user