-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Moving config generation in docker files #502
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
This allow random users to launch the images. The behavior is needed for OpenShift. Cf. issue 3 from ddavison/selenium-openshift-templates
yep! i'm good with this. please do me favor though, and take out your I'll merge this in as soon as that is fixed! thanks @Remi-p ! nice work. |
My bad I thought the warning was for local modifications... |
don't worry about squashing. thanks @Remi-p ! |
Hey ! Sorry to bother you, but should I do another modification ? I say that because of the awaiting-external-changes label. |
oops, thanks for reminding me! |
No problem! |
It was for correcting a permission problem (see Permission denied issue when starting node-chrome pod). But you're right this way it breaks the use of environment variables. |
See SeleniumHQ#502 Generation at build time = default configuration file Generation at run time = allow to pass environment variables
See SeleniumHQ#502 Generation at build time = default configuration file Generation at run time = allow to pass environment variables
…node containers at runtime When changes were introduced to generate default config during build time with SeleniumHQ#502 and then with SeleniumHQ#529, it broke the ability to pass in environment variables to the node containers at runtime. This fix aims to provide the ability to do both i.e. continue to pass environment variables at runtime and generate a default config at build time for the node.
Hi,
Following the issue Permission denied issue when starting node-chrome pod #3 from ddavison/selenium-openshift-templates, I propose to make the same modification type as in move the creation of the config.json file into a RUN directive #185.
Typically, moving this line from
NodeBase/entry_point.sh
:To the end of the dockerfiles (with
RUN
directive).make generate_all
,make all
, &make test
have been run. Also I tried the built node-chrome image with OpenShift, it works (see this temporary Docker Hub image).X
in the preceding checkbox, I verify that I have signed the Contributor License Agreement