parent
f384efdc27
commit
b5a6772f75
|
|
@ -573,8 +573,8 @@
|
|||
}
|
||||
],
|
||||
"source": {
|
||||
"type": "image",
|
||||
"origin": "codenvy/debian_jre"
|
||||
"type": "recipe",
|
||||
"origin": "FROM codenvy/debian_jre\nCMD tail -f /dev/null"
|
||||
},
|
||||
"workspaceConfig": {
|
||||
"environments": [
|
||||
|
|
@ -655,8 +655,8 @@
|
|||
"description": null
|
||||
},
|
||||
"source": {
|
||||
"type": "image",
|
||||
"origin": "codenvy/ubuntu_jre"
|
||||
"type": "recipe",
|
||||
"origin": "FROM codenvy/ubuntu_jre\nCMD tail -f /dev/null"
|
||||
},
|
||||
"permissions": {
|
||||
"groups": [
|
||||
|
|
|
|||
|
|
@ -689,6 +689,9 @@ export class CreateProjectCtrl {
|
|||
if ('image' === recipeSource.type) {
|
||||
// needs to add recipe for that script
|
||||
promise = this.submitRecipe('generated-' + stack.name, 'FROM ' + recipeSource.origin);
|
||||
} else if ('recipe' === recipeSource.type) {
|
||||
|
||||
promise = this.submitRecipe('generated-' + stack.name, recipeSource.origin);
|
||||
} else {
|
||||
throw 'Not implemented';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue