Add libdtrace-ctf on el6
This commit is contained in:
parent
d5b733a0a0
commit
f7fcfe8292
@ -425,6 +425,9 @@ 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"
|
||||||
|
}
|
||||||
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