Skip to content

Commit e9c4a01

Browse files
committed
Merge branch 'develop'
2 parents 74c3b3c + 5a6fc94 commit e9c4a01

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

docker-compose.linux.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,9 @@ services:
8686
- ./docker/standalone-memcached.xml:/opt/jboss/infinispan-server/standalone/configuration/standalone-memcached.xml
8787
networks:
8888
- default
89+
90+
selenium:
91+
image: selenium/standalone-chrome:3.141.59-oxygen
92+
network_mode: host
93+
volumes:
94+
- /dev/shm:/dev/shm

docker-compose.osx.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ services:
7878
- ./docker/standalone-memcached.xml:/opt/jboss/infinispan-server/standalone/configuration/standalone-memcached.xml
7979
network_mode: service:web
8080

81+
selenium:
82+
image: selenium/standalone-chrome:3.141.59-oxygen
83+
network_mode: service:web
84+
volumes:
85+
- /dev/shm:/dev/shm
86+
8187
volumes:
8288
nfsmount:
8389
driver: local

docker/Dockerfile

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,11 @@ if [ ${USER_ID:-0} -ne 0 ] && [ ${GROUP_ID:-0} -ne 0 ]; then \
2828
/shared; \
2929
fi
3030

31-
# Add the chromedriver repo using php, no wget or curl yet.
32-
RUN php -n -r 'echo file_get_contents("https://dl-ssl.google.com/linux/linux_signing_key.pub");' | apt-key add - \
33-
&& echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/google-chrome.list
34-
3531
# Upgrade all currently installed packages and install additional packages.
3632
RUN apt-get update \
37-
&& apt-get -y install php-sqlite3 php-xdebug php7.2-cli git wget sudo unzip libnotify-bin google-chrome-stable vim \
33+
&& apt-get -y install php-sqlite3 php-xdebug php7.2-cli git wget sudo unzip libnotify-bin vim \
3834
&& sed -ri 's/^zend.assertions\s*=\s*-1/zend.assertions = 1/g' /etc/php/7.2/cli/php.ini \
3935
&& sed -i 's/^\(allow_url_fopen\s*=\s*\).*$/\1on/g' /etc/php/7.2/mods-available/php_custom.ini \
40-
&& CHROME_DRIVER_VERSION=$(php -n -r 'echo file_get_contents("https://chromedriver.storage.googleapis.com/LATEST_RELEASE");') \
41-
&& wget https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip \
42-
&& unzip -o chromedriver_linux64.zip -d /usr/local/bin \
43-
&& rm -f chromedriver_linux64.zip \
44-
&& chmod +x /usr/local/bin/chromedriver \
4536
&& apt-get -y autoremove && apt-get -y autoclean && apt-get clean && rm -rf /var/lib/apt/lists /tmp/* /var/tmp/*
4637

4738
# Install Composer.

0 commit comments

Comments
 (0)