-
Notifications
You must be signed in to change notification settings - Fork 18
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
docker: entrypoint fails if group exists #606
Comments
The problem is in the following lines SIRF-SuperBuild/docker/entrypoint.sh Lines 28 to 34 in 3c01b37
The adduser command should use the --gid option as opposed to --ingroup , as the groupname would have failed.
|
A possibly work-around for an existing image could be to edit
or equivalently edit
to
|
The entrypoint.sh failed if `GROUP_ID` refers to an existing group, as the `adduser` command referred to it via the wrong name. Fixes SyneRBI#606
The entrypoint.sh failed if `GROUP_ID` refers to an existing group, as the `adduser` command referred to it via the wrong name. Fixes SyneRBI#606 [actions skip]
Better would be to pull the PR:
|
@mastergari let us know if you try either of those. |
This works for me, but of course I never had the problem. |
@KrisThielemans I am able to access localhost:9999 after editing sirf-comopose with your above commands. I was unable to pull the PR which failed at "git fetch kris-fork" due to insufficient access rights:
I had no problems setting up docker on my linux machine. Thank you for the assistance! |
oops.
Anyway. We'll probably merge this tomorrow. Thanks for letting us know! |
docker: create user with gid fixes #606
Found by @mastergari
./sirf-compose
tries to find the group of the current user, and create a group in the docker image accordingly. However, when that group already exists, subsequentadduser
fails:The text was updated successfully, but these errors were encountered: