Make sure libdtrace-ctf available on all versions
This commit is contained in:
parent
f7fcfe8292
commit
aa32c7a8ae
@ -425,9 +425,7 @@ func generateBaseDockerImage(registry string, commands []config.DockerCommand,
|
||||
d += "RUN yum -y update\n"
|
||||
d += "RUN yum -y groupinstall 'Development Tools'\n"
|
||||
d += "RUN yum -y install linux-firmware grubby\n"
|
||||
if sk.DistroRelease <= "6" {
|
||||
d += "RUN yum -y install libdtrace-ctf\n"
|
||||
}
|
||||
default:
|
||||
err = fmt.Errorf("%s not yet supported", sk.DistroType.String())
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user