Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Chromium driver #39

Merged
merged 2 commits into from
Jul 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion php/Dockerfile-5.6
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ RUN set -xe \
&& docker-php-ext-enable igbinary \
\
# Install redis (manualy build in order to be able to enable igbinary)
&& for i in $(seq 1 3); do pecl install -o --nobuild redis && s=0 && break || s=$? && sleep 1; done; (exit $s) \
&& for i in $(seq 1 3); do pecl install -o --nobuild redis-4.3.0 && s=0 && break || s=$? && sleep 1; done; (exit $s) \
&& cd "$(pecl config-get temp_dir)/redis" \
&& phpize \
&& ./configure --enable-redis-igbinary \
Expand Down
2 changes: 2 additions & 0 deletions php/scripts/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ if [ "$BEHAT_SELENIUM_HOST" != "" ] && [ "$BEHAT_WEB_HOST" != "" ]; then
logger "Copying behat.yml.dist to behat.yml and updating selenium and web hosts"
if [ -f behat.yml.dist ]; then
cp -f behat.yml.dist behat.yml
if [ "$MINK_DEFAULT_SESSION" != "" ]; then sed -i "s@javascript_session: selenium@javascript_session: ${MINK_DEFAULT_SESSION}@" behat.yml; fi
sed -i "s@localhost:4444@${BEHAT_SELENIUM_HOST}:4444@" behat.yml
if [ "$BEHAT_CHROMIUM_HOST" != "" ]; then sed -i "s@localhost:9222@${BEHAT_CHROMIUM_HOST}:9222@" behat.yml; fi
sed -i "s@localhost@${BEHAT_WEB_HOST}@" behat.yml
else
logger "No behat.yml.dist found, skipping"
Expand Down