-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAVEN_OPTS defined in a stack gets overriden by workspace #10495
Comments
how can I reproduce this issue? |
@siamaksade do you have this env in ~/.bashrc in a container? |
To reproduce, create a new stack using this json https://hastebin.com/moyifanoji.json and then create a workspace based of this stack. |
@eivantsov no, it's in the stack json https://hastebin.com/moyifanoji.json L15 |
@siamaksade ok, you did not want to check it, I did it for you. In your ~/.bashrc, there's an interesting line:
If you remove it, your
Does this answer your question? |
My image just drives from Thanks for tracing this but this just tracks down the root cause of the reported issue to |
@siamaksade yes, that line should be removed. I'll take care of it. |
Created an issue on the che recipes repo: Closing this one. |
When defining the
MAVEN_OPTS
env var via the stack configuration, the workspace overrides the env var.stack definition:
And in the workspace:
The text was updated successfully, but these errors were encountered: