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 update\n"
|
||||||
d += "RUN yum -y groupinstall 'Development Tools'\n"
|
d += "RUN yum -y groupinstall 'Development Tools'\n"
|
||||||
d += "RUN yum -y install linux-firmware grubby\n"
|
d += "RUN yum -y install linux-firmware grubby\n"
|
||||||
if sk.DistroRelease <= "6" {
|
d += "RUN yum -y install libdtrace-ctf\n"
|
||||||
d += "RUN yum -y install libdtrace-ctf\n"
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
err = fmt.Errorf("%s not yet supported", sk.DistroType.String())
|
err = fmt.Errorf("%s not yet supported", sk.DistroType.String())
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user