1
0
Fork 0

Fix deltarpm support for CentOS 8

timestamps
dump_stack() 2020-05-30 12:40:12 +00:00
父節點 bfae451749
當前提交 bfc6f11a7e
簽署人: dump_stack
GPG 金鑰 ID: BE44DA8C062D87DC
共有 1 個檔案被更改,包括 6 行新增1 行删除

查看文件

@ -202,7 +202,12 @@ func generateBaseDockerImage(registry string, commands []config.DockerCommand,
d += "RUN sed -i 's;installonly_limit=;installonly_limit=100500;' /etc/yum.conf\n"
d += "RUN yum -y update\n"
d += "RUN yum -y groupinstall 'Development Tools'\n"
d += "RUN yum -y install deltarpm\n"
if sk.DistroRelease < "8" {
d += "RUN yum -y install deltarpm\n"
} else {
d += "RUN yum -y install drpm\n"
}
default:
err = fmt.Errorf("%s not yet supported", sk.DistroType.String())
return