Skip to content

Commit cabb166

Browse files
committed
edit dockerfiletxt for #386
1 parent f5a4f5f commit cabb166

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

NodeChrome/Dockerfile.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ RUN chmod +x /opt/google/chrome/google-chrome
5151

5252
RUN chown -R seluser:seluser /opt/selenium
5353

54-
USER seluser
5554
# Following line fixes
5655
# https://github.com/SeleniumHQ/docker-selenium/issues/87
57-
ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
56+
RUN echo "DBUS_SESSION_BUS_ADDRESS=/dev/null" >> /etc/environment
57+
58+
USER seluser

0 commit comments

Comments
 (0)