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
5757RUN chmod +x /opt/selenium/generate_config
5858
5959#=================================
60- # Chrome Launch Script Modication
60+ # Chrome Launch Script Modification
6161#=================================
6262COPY chrome_launcher.sh /opt/google/chrome/google-chrome
6363RUN chmod +x /opt/google/chrome/google-chrome
6464
6565RUN chown -R seluser:seluser /opt/selenium
6666
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
7069
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
5353RUN chmod +x /opt/selenium/generate_config \
5454 && chown -R seluser:seluser /opt/selenium
5555
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
5958
6059USER seluser
You can’t perform that action at this time.
0 commit comments