Skip to content

Commit b24d1ae

Browse files
authored
Merge pull request SeleniumHQ#529 from Remi-p/master
Config generation at runtime + buildtime
2 parents b955fcc + 7c31de1 commit b24d1ae

File tree

6 files changed

+6
-2
lines changed

6 files changed

+6
-2
lines changed

NodeBase/entry_point.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

33
source /opt/bin/functions.sh
4+
/opt/bin/generate_config > /opt/selenium/config.json
45

56
export GEOMETRY="$SCREEN_WIDTH""x""$SCREEN_HEIGHT""x""$SCREEN_DEPTH"
67

NodeChrome/Dockerfile.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ COPY generate_config /opt/bin/generate_config
4040
#=================================
4141
COPY chrome_launcher.sh /opt/google/chrome/google-chrome
4242

43-
# Generating config inside the image rather than with entry_point.sh
43+
# Generating a default config during build time
4444
RUN /opt/bin/generate_config > /opt/selenium/config.json

NodeChromeDebug/entry_point.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# IMPORTANT: Change this file only in directory NodeDebug!
44

55
source /opt/bin/functions.sh
6+
/opt/bin/generate_config > /opt/selenium/config.json
67

78
export GEOMETRY="$SCREEN_WIDTH""x""$SCREEN_HEIGHT""x""$SCREEN_DEPTH"
89

NodeDebug/entry_point.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# IMPORTANT: Change this file only in directory NodeDebug!
44

55
source /opt/bin/functions.sh
6+
/opt/bin/generate_config > /opt/selenium/config.json
67

78
export GEOMETRY="$SCREEN_WIDTH""x""$SCREEN_HEIGHT""x""$SCREEN_DEPTH"
89

NodeFirefox/Dockerfile.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ COPY generate_config /opt/bin/generate_config
3636
# When logging into the container
3737
RUN sudo echo ""
3838

39-
# Generating config inside the image rather than with entry_point.sh
39+
# Generating a default config during build time
4040
RUN /opt/bin/generate_config > /opt/selenium/config.json

NodeFirefoxDebug/entry_point.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# IMPORTANT: Change this file only in directory NodeDebug!
44

55
source /opt/bin/functions.sh
6+
/opt/bin/generate_config > /opt/selenium/config.json
67

78
export GEOMETRY="$SCREEN_WIDTH""x""$SCREEN_HEIGHT""x""$SCREEN_DEPTH"
89

0 commit comments

Comments
 (0)