diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 97be962..80e6978 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -903,13 +903,13 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \ && apt-get install --no-install-recommends -y \ libaio-dev && \ # Install PHP extensions - if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \ - echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.12; \ - elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \ - echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.2.0; \ - else \ - echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8; \ - fi \ + if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \ + echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.12; \ + elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \ + echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.2.0; \ + else \ + echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8; \ + fi \ && echo "extension=oci8.so" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini \ && php -m | grep -q 'oci8' \ ;fi