-
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
HOME environment variable points to /opt/app-root/src
in python sample
#23068
Comments
@vitaliy-guliy can you please share the devfile you used that encountered this error? I'm under the impression this is affecting tooling images other than the UDI, as I didn't reproduce the issue in the following devfile (UDI sample):
|
It is a python sample from Btw, on the developer sandbox persistence for |
I don't believe we actually maintain that image https://catalog.redhat.com/software/containers/ubi9/python-39/61a61032bfd4a5234d59629e?container-tabs=overview Maybe once the short term plan for https://issues.redhat.com/browse/CRW-6577?focusedId=25106725&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-25106725 is resolved, we can create a minimal python image based on our UBI that has home persistence & $HOME set correctly? |
/opt/app-root/src
/opt/app-root/src
in python sample
It is reproducible as well for go, dotnet, angular, and I believe for some other samples. |
Describe the bug
I noticed that on the developer sandbox and on the godfooding instance HOME environment variable is set to
/opt/app-root/src
.It brings some problems.
First, that
/opt/app-root/....
is not persisted and all the stored data are lost on workspace restart.Seconds, it is not right ideologically, home directory should be located in
/home
, not in/opt
.Che version
7.88
Steps to reproduce
Expected behavior
HOME should be set to
/home/user
Screenshots
Environment
Dev Sandbox (workspaces.openshift.com)
The text was updated successfully, but these errors were encountered: