diff --git a/core/ide/che-core-ide-stacks/src/main/resources/predefined-stacks.json b/core/ide/che-core-ide-stacks/src/main/resources/predefined-stacks.json index ce7f79f9cc..a7874c06bf 100644 --- a/core/ide/che-core-ide-stacks/src/main/resources/predefined-stacks.json +++ b/core/ide/che-core-ide-stacks/src/main/resources/predefined-stacks.json @@ -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": [ diff --git a/dashboard/src/app/projects/create-project/create-project.controller.js b/dashboard/src/app/projects/create-project/create-project.controller.js index 327980e1da..f75c84f9af 100755 --- a/dashboard/src/app/projects/create-project/create-project.controller.js +++ b/dashboard/src/app/projects/create-project/create-project.controller.js @@ -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'; } diff --git a/dashboard/src/app/workspaces/create-workspace/select-stack/stack-library/stack-library-filter/che-stack-library-filter.styl b/dashboard/src/app/workspaces/create-workspace/select-stack/stack-library/stack-library-filter/che-stack-library-filter.styl index 475bab3c95..8f5c287821 100644 --- a/dashboard/src/app/workspaces/create-workspace/select-stack/stack-library/stack-library-filter/che-stack-library-filter.styl +++ b/dashboard/src/app/workspaces/create-workspace/select-stack/stack-library/stack-library-filter/che-stack-library-filter.styl @@ -24,7 +24,7 @@ border none !important padding 0 !important height 17px - line-height 16px + line-height 17px font-size 11px font-weight bold @@ -34,7 +34,7 @@ div color #fff !important display inline-block - height 15px + height 17px .stack-library-filter-tag-text, .stack-library-filter-suggestion-text border 1px solid #fff