File tree Expand file tree Collapse file tree 6 files changed +6
-4
lines changed Expand file tree Collapse file tree 6 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
33source /opt/bin/functions.sh
4- /opt/bin/generate_config > /opt/selenium/config.json
54
65export GEOMETRY=" $SCREEN_WIDTH " " x" " $SCREEN_HEIGHT " " x" " $SCREEN_DEPTH "
76
Original file line number Diff line number Diff line change @@ -39,3 +39,6 @@ COPY generate_config /opt/bin/generate_config
3939# Chrome Launch Script Modification
4040#=================================
4141COPY chrome_launcher.sh /opt/google/chrome/google-chrome
42+
43+ # Generating config inside the image rather than with entry_point.sh
44+ RUN /opt/bin/generate_config > /opt/selenium/config.json
Original file line number Diff line number Diff line change 33# IMPORTANT: Change this file only in directory NodeDebug!
44
55source /opt/bin/functions.sh
6- /opt/bin/generate_config > /opt/selenium/config.json
76
87export GEOMETRY=" $SCREEN_WIDTH " " x" " $SCREEN_HEIGHT " " x" " $SCREEN_DEPTH "
98
Original file line number Diff line number Diff line change 33# IMPORTANT: Change this file only in directory NodeDebug!
44
55source /opt/bin/functions.sh
6- /opt/bin/generate_config > /opt/selenium/config.json
76
87export GEOMETRY=" $SCREEN_WIDTH " " x" " $SCREEN_HEIGHT " " x" " $SCREEN_DEPTH "
98
Original file line number Diff line number Diff line change @@ -35,3 +35,6 @@ COPY generate_config /opt/bin/generate_config
3535# To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details.
3636# When logging into the container
3737RUN sudo echo ""
38+
39+ # Generating config inside the image rather than with entry_point.sh
40+ RUN /opt/bin/generate_config > /opt/selenium/config.json
Original file line number Diff line number Diff line change 33# IMPORTANT: Change this file only in directory NodeDebug!
44
55source /opt/bin/functions.sh
6- /opt/bin/generate_config > /opt/selenium/config.json
76
87export GEOMETRY=" $SCREEN_WIDTH " " x" " $SCREEN_HEIGHT " " x" " $SCREEN_DEPTH "
98
You can’t perform that action at this time.
0 commit comments