Added default docker environment to orborus

This commit is contained in:
frikky
2020-10-10 07:03:50 +02:00
parent 65c9bed7d2
commit bd9f66e11d
+7
View File
@@ -215,6 +215,13 @@ func initializeImages() {
log.Printf("[WARNING] SHUFFLE_WORKER_VERSION not defined. Defaulting to %s", workerVersion)
}
if baseimageregistry == "" {
baseimageregistry = "docker.io"
}
if baseimagename == "" {
baseimagename = "frikky/shuffle"
}
// check whether they are the same first
images := []string{
fmt.Sprintf("%s/%s:app_sdk%s", baseimageregistry, baseimagename, baseimagetagsuffix),