File tree Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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+
8187volumes :
8288 nfsmount :
8389 driver : local
Original file line number Diff line number Diff line change @@ -28,20 +28,11 @@ if [ ${USER_ID:-0} -ne 0 ] && [ ${GROUP_ID:-0} -ne 0 ]; then \
2828 /shared; \
2929fi
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.
3632RUN 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 *\) .*$/\1 on/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.
You can’t perform that action at this time.
0 commit comments