-
Notifications
You must be signed in to change notification settings - Fork 12
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
vrx_entrypoint.sh does not expand "~" to correct user home directory #33
Comments
This is a problem with the Dockerfile, build and run scripts. They use a hardcoded value of 1000 for the UID and GID when building the container, but then dynamically run with UID and GID that match the local user. So, if the user's UID and GID are not 1000, the system fails to set up the user environment correctly and can't find $HOME. Unfortunately, fixing this produces a pathological behavior when running the adduser command, causing the build process to hang at The fix should be to use a --no-log-init option. But Ubuntu's version of |
@caguero I now have this fixed locally. When I get write access to the repository I will submit a PR. |
Resolved by #34 |
Problem
When running the vrx-docker container, the "~" character expands to "/" instead of the correct home directory. This causes the entrypoint to fail on line 11 while trying to source the setup.sh file
To reproduce:
Run the vrx-docker container with the following command:
The text was updated successfully, but these errors were encountered: