Skip to content

Commit 8fbce57

Browse files
committed
pass instantclient
1 parent 77b15f7 commit 8fbce57

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

oracle/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ RUN apt-get update && apt-get -y install libaio1t64
44
ENV MAJOR_ORACLE_INSTANT_CLIENT=23
55
ENV MINOR_ORACLE_INSTANT_CLIENT=26
66
ENV DIR_ORACLE_INSTANT_CLIENT="/opt/oracle/instantclient_23_26"
7-
ENV ORACLE_HOME=$DIR_ORACLE_INSTANT_CLIENT
8-
ENV LD_LIBRARY_PATH=$DIR_ORACLE_INSTANT_CLIENT
97

108
RUN mkdir /opt/oracle \
119
&& cd /opt/oracle \
@@ -22,5 +20,5 @@ RUN ln -s /usr/lib/x86_64-linux-gnu/libaio.so.1t64 ${ORACLE_HOME}/libaio.so.1
2220
RUN echo "instantclient,$DIR_ORACLE_INSTANT_CLIENT" | pecl install oci8 \
2321
&& docker-php-ext-enable oci8
2422

25-
RUN pecl install pdo_oci \
23+
RUN echo "instantclient,$DIR_ORACLE_INSTANT_CLIENT" | pecl install pdo_oci \
2624
&& docker-php-ext-enable pdo_oci \

0 commit comments

Comments
 (0)