Oracle Linux 7 with PHP 7.4 for use with Oracle Databases

This is a starter docker setup to use Oracle Linux 7 with PHP 7.4 for use with Oracle databases.

https://gist.github.com/d8edafa8c0862969f8f56af7a97d40cf#file-dockerfile

FROM oraclelinux:7

# Install releases
RUN yum install -y \
    oracle-release-el7 \
    oracle-php-release-el7

# Install instaclient
RUN yum install -y \
    oracle-instantclient19.5-basic

# Install php
RUN yum install -y \
    php \
    php-pdo \
    php-oci8-19c \
    sqlite

RUN yum clean all

RUN mkdir /app

CMD tail -f /dev/null


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s