-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Hub to run Selenium server directly
Remove init script in favor of directly running the Hub via the Dockerfile CMD. Part of #3
- Loading branch information
Showing
2 changed files
with
4 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
FROM elgalu/selenium-base:2.44.0 | ||
FROM selenium/base:2.44.0 | ||
MAINTAINER Selenium <[email protected]> | ||
|
||
#========================================== | ||
# Scripts to run selenium hub as a service | ||
#========================================== | ||
COPY ./etc /etc | ||
# Allow child images to also chime in on which services to run | ||
RUN chmod +x /etc/my_init.d/*.sh \ | ||
&& chmod +x /etc/service/**/run | ||
USER seluser | ||
|
||
CMD java -jar /opt/selenium/selenium-server-standalone.jar -port 4444 -role hub |
This file was deleted.
Oops, something went wrong.