Neither image’s package.json
has the necessary dependencies.
Is this deliberate or are the Docker images outdated?
How would you recommend I extend the base image to add the necessary dependencies?
If I build from source it works perfectly fine, but I’m not exactly sure how to use the built version in a docker production environment.
Thanks in advance.
theia:latest
{
"private": true,
"theia": {
"frontend": {
"config": {
"applicationName": "Theia JavaScript/TypeScript Example",
"preferences": {
"files.enableTrash": false
}
}
}
},
"dependencies": {
"@theia/callhierarchy": "latest",
"@theia/debug": "latest",
"@theia/debug-nodejs": "latest",
"@theia/file-search": "latest",
"@theia/git": "latest",
"@theia/json": "latest",
"@theia/markers": "latest",
"@theia/merge-conflicts": "latest",
"@theia/messages": "latest",
"@theia/mini-browser": "latest",
"@theia/navigator": "latest",
"@theia/outline-view": "latest",
"@theia/preferences": "latest",
"@theia/preview": "latest",
"@theia/search-in-workspace": "latest",
"@theia/terminal": "latest",
"@theia/textmate-grammars": "latest",
"@theia/tslint": "latest",
"@theia/typescript": "latest",
"typescript": "latest"
},
"resolutions": {
"vscode-languageserver-protocol": "3.15.0-next.9",
"vscode-languageserver-types": "3.15.0-next.5"
},
"devDependencies": {
"@theia/cli": "latest"
}
}
theia:next
{
"private": true,
"theia": {
"frontend": {
"config": {
"applicationName": "Theia JavaScript/TypeScript Example",
"preferences": {
"files.enableTrash": false
}
}
}
},
"dependencies": {
"@theia/callhierarchy": "next",
"@theia/debug": "next",
"@theia/debug-nodejs": "next",
"@theia/editor-preview": "next",
"@theia/file-search": "next",
"@theia/getting-started": "next",
"@theia/git": "next",
"@theia/json": "next",
"@theia/markers": "next",
"@theia/merge-conflicts": "next",
"@theia/messages": "next",
"@theia/mini-browser": "next",
"@theia/navigator": "next",
"@theia/outline-view": "next",
"@theia/preferences": "next",
"@theia/preview": "next",
"@theia/search-in-workspace": "next",
"@theia/terminal": "next",
"@theia/textmate-grammars": "next",
"@theia/typescript": "next",
"@theia/tslint": "next",
"typescript": "latest"
},
"resolutions": {
"vscode-languageserver-protocol": "3.15.0-next.9",
"vscode-languageserver-types": "3.15.0-next.5"
},
"devDependencies": {
"@theia/cli": "next"
}
}
[original thread by Ezequiel]