Skip to content

Commit e725fa1

Browse files
authored
Merge pull request #13 from vfalies/php7.3-fpm
Php7.3 fpm
2 parents d2e1ce3 + e350086 commit e725fa1

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [2019-09-22]
9+
10+
## Added
11+
12+
- Add OCI8 extension
13+
814
## [2019-08-24]
915

1016
## Updated

Dockerfile

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ RUN apt-get update && apt-get install -y \
4141
unzip \
4242
librabbitmq-dev \
4343
inetutils-ping \
44+
libaio1 \
4445
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
4546
&& docker-php-ext-install -j$(nproc) imap \
4647
&& docker-php-ext-configure intl \
@@ -91,8 +92,6 @@ RUN chmod +x /tmp/composer.sh \
9192
&& /tmp/composer.sh \
9293
&& mv composer.phar /usr/local/bin/composer
9394

94-
WORKDIR /var/www/html
95-
9695
# User creation
9796
RUN useradd -U -m -r -o -u 1003 vfac
9897

@@ -106,6 +105,23 @@ RUN USER=vfac && \
106105
printf "user: $USER\ngroup: $GROUP\n" > /etc/fixuid/config.yml
107106
ENTRYPOINT ["fixuid", "-q"]
108107

108+
# OCI installation
109+
RUN mkdir -p /opt/oracle
110+
WORKDIR /opt/oracle
111+
112+
RUN wget https://download.oracle.com/otn_software/linux/instantclient/193000/instantclient-basic-linux.x64-19.3.0.0.0dbru.zip \
113+
&& wget https://download.oracle.com/otn_software/linux/instantclient/193000/instantclient-sdk-linux.x64-19.3.0.0.0dbru.zip \
114+
&& unzip instantclient-basic-linux.x64-19.3.0.0.0dbru.zip \
115+
&& unzip instantclient-sdk-linux.x64-19.3.0.0.0dbru.zip \
116+
&& rm instantclient-basic-linux.x64-19.3.0.0.0dbru.zip \
117+
&& rm instantclient-sdk-linux.x64-19.3.0.0.0dbru.zip \
118+
&& echo /opt/oracle/instantclient_19_3 > /etc/ld.so.conf.d/oracle-instantclient.conf \
119+
&& ldconfig \
120+
&& echo "instantclient,/opt/oracle/instantclient_19_3" | pecl install oci8 \
121+
&& echo "extension=oci8.so" >> /usr/local/etc/php/conf.d/oci8.ini
122+
123+
WORKDIR /var/www/html
124+
109125
CMD ["/usr/local/sbin/php-fpm"]
110126
USER vfac:vfac
111127

0 commit comments

Comments
 (0)