Any official docker image for php5.6 with oracle oci support

I want docker image for running php5.6 → CI application with OCI support which connects oracle database 11.2

I am trying with following docker file but its not working:

FROM php:5.6-apache

RUN apt-get update && apt-get install -y \
    libaio1 \
    unzip \
    git

RUN docker-php-ext-install gd mbstring \
    && rm -rf /var/lib/apt/lists/*

COPY instantclient-basic-linux.x64-11.2.0.4.0.zip /tmp/
COPY instantclient-sdk-linux.x64-11.2.0.4.0.zip /tmp/

RUN unzip /tmp/instantclient-basic-linux.x64-11.2.0.4.0.zip -d /usr/local/ \
    && unzip /tmp/instantclient-sdk-linux.x64-11.2.0.4.0.zip -d /usr/local/ \
    && mv /usr/local/instantclient_11_2 /usr/local/instantclient \
    && ln -s /usr/local/instantclient/libclntsh.so.11.1 /usr/local/instantclient/libclntsh.so \
    && ln -s /usr/local/instantclient/libocci.so.11.1 /usr/local/instantclient/libocci.so \
    && rm /tmp/instantclient-*.zip

ENV LD_LIBRARY_PATH=/usr/local/instantclient
ENV ORACLE_HOME=/usr/local/instantclient
ENV PATH="$PATH:$ORACLE_HOME"

RUN pecl channel-update pecl.php.net && \
    echo 'instantclient,/usr/local/instantclient' | pecl install oci8 \
    && docker-php-ext-enable oci8


RUN a2enmod rewrite \
    && sed -i 's/AllowOverride None/AllowOverride All/g' /etc/apache2/apache2.conf

COPY . /var/www/html/

RUN chown -R www-data:www-data /var/www/html \
    && chmod -R 755 /var/www/html

EXPOSE 80

Would you be willing to share the errors you get?

Not official, and not really pdated anymore (PHP 5.6 is really old, so don’t use it unless you have an extremely old app that you have to run temporarily), but I have this project

About Oracle support:

https://php-docker-images.readthedocs.io/en/latest/pages/build-image.html#oci8-and-pdo-oci-extensions

It is the PHP FPM variant without Apache HTTPD which can run in a separate container. But I’m not sure the repositories are still working in a container based on that image.