Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM php:7.3.4-apache
- # Install v8js
- RUN apt-get update && apt-get install -y libv8-3.14.5
- RUN pecl install v8js-2.1.0 && docker-php-ext-enable v8js
- # Install xdebug.
- RUN pecl install xdebug-2.7.1 && docker-php-ext-enable xdebug
- # Turn on mod_rewrite module for Apache.
- RUN a2enmod rewrite
- # Restart Apache.
- RUN service apache2 restart
- # Use the default development configuration.
- RUN mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini"
- ...
- checking for V8 Javascript Engine... yes, shared
- checking for V8 files in default path... not found
- configure: error: Please reinstall the v8 distribution
- ERROR: `/tmp/pear/temp/v8js/configure --with-php-config=/usr/local/bin/php-config --with-v8js' failed
- ERROR: Service 'web' failed to build: The command '/bin/sh -c pecl install v8js-2.1.0 && docker-php-ext-enable v8js' returned a non-zero code: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement