File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,14 @@ COPY generate_config /opt/selenium/generate_config
57
57
RUN chmod +x /opt/selenium/generate_config
58
58
59
59
#=================================
60
- # Chrome Launch Script Modication
60
+ # Chrome Launch Script Modification
61
61
#=================================
62
62
COPY chrome_launcher.sh /opt/google/chrome/google-chrome
63
63
RUN chmod +x /opt/google/chrome/google-chrome
64
64
65
65
RUN chown -R seluser:seluser /opt/selenium
66
66
67
- # Following line fixes
68
- # https://github.com/SeleniumHQ/docker-selenium/issues/87
69
- RUN echo "DBUS_SESSION_BUS_ADDRESS=/dev/null" >> /etc/environment
67
+ # Following line fixes https://github.com/SeleniumHQ/docker-selenium/issues/87
68
+ ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
70
69
71
- USER seluser
70
+ USER seluser
Original file line number Diff line number Diff line change @@ -53,8 +53,7 @@ COPY generate_config /opt/selenium/generate_config
53
53
RUN chmod +x /opt/selenium/generate_config \
54
54
&& chown -R seluser:seluser /opt/selenium
55
55
56
- # Following line fixes
57
- # https://github.com/SeleniumHQ/docker-selenium/issues/87
58
- RUN echo "DBUS_SESSION_BUS_ADDRESS=/dev/null" >> /etc/environment
56
+ # Following line fixes https://github.com/SeleniumHQ/docker-selenium/issues/87
57
+ ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
59
58
60
59
USER seluser
You can’t perform that action at this time.
0 commit comments