Merge pull request #616 from eclipse/CHE-209

CHE-209: fix recipes
6.19.x
akurinnoy 2016-03-02 16:27:18 +02:00
commit c527a22097
3 changed files with 9 additions and 6 deletions

View File

@ -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": [

View File

@ -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';
}

View File

@ -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