-
Bug
-
Resolution: Done
-
Blocker
-
3.8.0.GA
-
False
-
-
False
-
Release Notes
-
-
Bug Fix
-
Done
-
-
-
Description of problem:
https://github.com/eclipse/che/issues/22412 & https://github.com/devfile/developer-images/pull/115 were created for the upstream UDI image, but this work needs to be ported to the downstream UDI image (with some modifications: for example, we aren't using nvm or sdkman downstream).
To summarize the issue, when devEnvironments.persistUserHome is set to true, the /home/user/ directory of the UDI image will be overwritten with the contents of the PVC. We currently are installing tools & configs in /home/user/, so many tools are no longer usable when this option is enabled.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Set devEnvironments.persistUserHome to true in the che cluster CR when using the downstream UDI image in a workspace
- Try running a tool such as mvn
Actual results:
The shell will report that the mvn command was not found.
Expected results:
Maven and other tools should run as expected.
Reproducibility (Always/Intermittent/Only Once):{}
Always