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 1
1
#! /bin/bash
2
2
3
3
source /opt/bin/functions.sh
4
- /opt/bin/generate_config > /opt/selenium/config.json
5
4
6
5
export GEOMETRY=" $SCREEN_WIDTH " " x" " $SCREEN_HEIGHT " " x" " $SCREEN_DEPTH "
7
6
Original file line number Diff line number Diff line change @@ -39,3 +39,6 @@ COPY generate_config /opt/bin/generate_config
39
39
# Chrome Launch Script Modification
40
40
#=================================
41
41
COPY 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 3
3
# IMPORTANT: Change this file only in directory NodeDebug!
4
4
5
5
source /opt/bin/functions.sh
6
- /opt/bin/generate_config > /opt/selenium/config.json
7
6
8
7
export GEOMETRY=" $SCREEN_WIDTH " " x" " $SCREEN_HEIGHT " " x" " $SCREEN_DEPTH "
9
8
Original file line number Diff line number Diff line change 3
3
# IMPORTANT: Change this file only in directory NodeDebug!
4
4
5
5
source /opt/bin/functions.sh
6
- /opt/bin/generate_config > /opt/selenium/config.json
7
6
8
7
export GEOMETRY=" $SCREEN_WIDTH " " x" " $SCREEN_HEIGHT " " x" " $SCREEN_DEPTH "
9
8
Original file line number Diff line number Diff line change @@ -35,3 +35,6 @@ COPY generate_config /opt/bin/generate_config
35
35
# To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details.
36
36
# When logging into the container
37
37
RUN 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 3
3
# IMPORTANT: Change this file only in directory NodeDebug!
4
4
5
5
source /opt/bin/functions.sh
6
- /opt/bin/generate_config > /opt/selenium/config.json
7
6
8
7
export GEOMETRY=" $SCREEN_WIDTH " " x" " $SCREEN_HEIGHT " " x" " $SCREEN_DEPTH "
9
8
You can’t perform that action at this time.
0 commit comments