Skip to content

Commit ca7b7e8

Browse files
committed
Leaving the original commit made in #182 that fixed #87, this time to fix #465
1 parent ebf037b commit ca7b7e8

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

NodeChrome/Dockerfile.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,14 @@ COPY generate_config /opt/selenium/generate_config
5757
RUN chmod +x /opt/selenium/generate_config
5858

5959
#=================================
60-
# Chrome Launch Script Modication
60+
# Chrome Launch Script Modification
6161
#=================================
6262
COPY chrome_launcher.sh /opt/google/chrome/google-chrome
6363
RUN chmod +x /opt/google/chrome/google-chrome
6464

6565
RUN 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

NodeFirefox/Dockerfile.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ COPY generate_config /opt/selenium/generate_config
5353
RUN 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

6059
USER seluser

0 commit comments

Comments
 (0)