Added default docker environment to orborus
This commit is contained in:
@@ -215,6 +215,13 @@ func initializeImages() {
|
|||||||
log.Printf("[WARNING] SHUFFLE_WORKER_VERSION not defined. Defaulting to %s", workerVersion)
|
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
|
// check whether they are the same first
|
||||||
images := []string{
|
images := []string{
|
||||||
fmt.Sprintf("%s/%s:app_sdk%s", baseimageregistry, baseimagename, baseimagetagsuffix),
|
fmt.Sprintf("%s/%s:app_sdk%s", baseimageregistry, baseimagename, baseimagetagsuffix),
|
||||||
|
|||||||
Reference in New Issue
Block a user