-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
move the creation of the config.json file into a RUN directive #185
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
Conversation
weird.. ^ I'll look into the failure. worked fine for me earlier. |
docker committers, could somebody help me with this? 😅 |
poke, docker committers. if you need to talk to me in #selenium irc, i'm sircapsalot |
This looks wrong, taking it away from the |
line 22 chowns the whole directory to seluser, so users will be able to change the config at run time |
Sorry, took a slight look and seems I wrote some none-sense. |
i wouldn't mind merging this guys, but i wasn't involved with the circleci stuff. it looks like our CI is broken for this project |
Agree with @elgalu Due to this change I am not able to change the value of config options in docker-compose file:
I see that my change has no effect (it is critical!). I try ssh'ing into container:
There I view config.json and see that it has default content in it!
I try regenerating it manually:
And it now contains valid values:
I vote reverting the change as it broke the ability to configure hub! |
looking into it |
…works in alignment with #185
…works in alignment with #185
…works in alignment with #185
You would think that this is a no-op, but it's not. This was actually creating an issue when running Docker containers in succession with Kubernetes and OpenShift.
This change won't affect other users using this without Kubernetes and OpenShift. Due to the nature that some Docker containers won't be safe - OpenShift enforces a policy of an arbitrary user ID that has sudo'ers rather than running as root.