Add PDO ODBC
This commit is contained in:
parent
56755bbaaa
commit
5baf89e5e3
@ -14,3 +14,8 @@ RUN mkdir /opt/ibm && cd /opt/ibm \
|
|||||||
&& echo /opt/ibm/dsdriver/|pecl install ibm_db2 \
|
&& echo /opt/ibm/dsdriver/|pecl install ibm_db2 \
|
||||||
&& docker-php-ext-enable ibm_db2 \
|
&& docker-php-ext-enable ibm_db2 \
|
||||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
|
# Install PDO ODBC
|
||||||
|
RUN mkdir -p /home/db2inst1 && ln -s /opt/ibm/dsdriver /home/db2inst1/sqllib \
|
||||||
|
&& docker-php-ext-configure pdo_odbc --with-pdo-odbc=ibm-db2 \
|
||||||
|
&& docker-php-ext-install pdo_odbc
|
||||||
|
Loading…
Reference in New Issue
Block a user