1
0
This commit is contained in:
dump_stack() 2023-04-05 19:32:31 +00:00
parent fcfbf4f36d
commit 301eb2a60b
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -296,18 +296,7 @@ func generateBaseDockerImage(registry string, commands []config.DockerCommand,
}
for _, c := range commands {
switch c.DistroType {
case config.Ubuntu:
d += "RUN " + c.Command + "\n"
case config.CentOS:
d += "RUN " + c.Command + "\n"
case config.Debian:
d += "RUN " + c.Command + "\n"
default:
err = fmt.Errorf("%s not yet supported",
sk.DistroType.String())
return
}
}
switch sk.DistroType {