Skip to content

Commit

Permalink
Change Hub to run Selenium server directly
Browse files Browse the repository at this point in the history
Remove init script in favor of directly running the Hub via the
Dockerfile CMD.

Part of #3
  • Loading branch information
mtscout6 committed Nov 17, 2014
1 parent e81541f commit c47d52a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
12 changes: 4 additions & 8 deletions Hub/Dockerfile
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
5 changes: 0 additions & 5 deletions Hub/etc/service/sel-hub/run

This file was deleted.

0 comments on commit c47d52a

Please sign in to comment.