1
0
Fork 0
master
dump_stack() 2023-04-05 19:32:31 +00:00
parent fcfbf4f36d
commit 301eb2a60b
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 12 deletions

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
}
d += "RUN " + c.Command + "\n"
}
switch sk.DistroType {