feat: add apparmor to debian 9+ base container
This commit is contained in:
parent
bec424b493
commit
eaba233ca3
@ -279,6 +279,10 @@ func (d Debian) runs() (commands []string) {
|
|||||||
"initramfs-tools", d.release.Name())
|
"initramfs-tools", d.release.Name())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if d.release >= 9 {
|
||||||
|
pkglist = append(pkglist, "apparmor")
|
||||||
|
}
|
||||||
|
|
||||||
if d.release < 9 {
|
if d.release < 9 {
|
||||||
pkglist = append(pkglist, "module-init-tools")
|
pkglist = append(pkglist, "module-init-tools")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user