-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
383 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,22 +19,22 @@ jobs: | |
|
||
- name: Build | ||
run: | | ||
docker build --pull -t kooldev/php:${{ matrix.version }}-nginx-oci8 ${{ matrix.version }}-nginx-oci8 | ||
docker build --pull -t kooldev/php:${{ matrix.version }}-nginx-oci8-prod ${{ matrix.version }}-nginx-oci8-prod | ||
docker build --pull -t kooldev/php:${{ matrix.version }}-oci8-nginx ${{ matrix.version }}-oci8-nginx | ||
docker build --pull -t kooldev/php:${{ matrix.version }}-oci8-nginx-prod ${{ matrix.version }}-oci8-nginx-prod | ||
docker build --pull -t kooldev/php:${{ matrix.version }}-swoole-nginx-oci8 ${{ matrix.version }}-swoole-nginx-oci8 | ||
docker build --pull -t kooldev/php:${{ matrix.version }}-swoole-nginx-oci8-prod ${{ matrix.version }}-swoole-nginx-oci8-prod | ||
docker build --pull -t kooldev/php:${{ matrix.version }}-oci8-swoole-nginx ${{ matrix.version }}-oci8-swoole-nginx | ||
docker build --pull -t kooldev/php:${{ matrix.version }}-oci8-swoole-nginx-prod ${{ matrix.version }}-oci8-swoole-nginx-prod | ||
- name: Tests | ||
run: | | ||
docker run kooldev/php:${{ matrix.version }}-nginx-oci8 php -r "extension_loaded('oci8') or die(1);" | ||
docker run kooldev/php:${{ matrix.version }}-nginx-oci8-prod php -r "extension_loaded('oci8') or die(1);" | ||
docker run kooldev/php:${{ matrix.version }}-oci8-nginx php -r "extension_loaded('oci8') or die(1);" | ||
docker run kooldev/php:${{ matrix.version }}-oci8-nginx-prod php -r "extension_loaded('oci8') or die(1);" | ||
docker run kooldev/php:${{ matrix.version }}-nginx-oci8 php -r "extension_loaded('oci8') or die(1);" | ||
docker run kooldev/php:${{ matrix.version }}-nginx-oci8-prod php -r "extension_loaded('oci8') or die(1);" | ||
docker run kooldev/php:${{ matrix.version }}-oci8-nginx php -r "extension_loaded('oci8') or die(1);" | ||
docker run kooldev/php:${{ matrix.version }}-oci8-nginx-prod php -r "extension_loaded('oci8') or die(1);" | ||
docker run kooldev/php:${{ matrix.version }}-swoole-nginx-oci8 php -r "extension_loaded('oci8') or die(1);" | ||
docker run kooldev/php:${{ matrix.version }}-swoole-nginx-oci8-prod php -r "extension_loaded('oci8') or die(1);" | ||
docker run kooldev/php:${{ matrix.version }}-oci8-swoole-nginx php -r "extension_loaded('oci8') or die(1);" | ||
docker run kooldev/php:${{ matrix.version }}-oci8-swoole-nginx-prod php -r "extension_loaded('oci8') or die(1);" | ||
- name: Login to DockerHub | ||
uses: docker/[email protected] | ||
|
@@ -46,8 +46,8 @@ jobs: | |
- name: Push to DockerHub | ||
if: github.ref == 'refs/heads/main' && github.repository == 'kool-dev/docker-php-oci8' | ||
run: | | ||
docker push kooldev/php:${{ matrix.version }}-nginx-oci8 | ||
docker push kooldev/php:${{ matrix.version }}-nginx-oci8-prod | ||
docker push kooldev/php:${{ matrix.version }}-oci8-nginx | ||
docker push kooldev/php:${{ matrix.version }}-oci8-nginx-prod | ||
docker push kooldev/php:${{ matrix.version }}-swoole-nginx-oci8 | ||
docker push kooldev/php:${{ matrix.version }}-swoole-nginx-oci8-prod | ||
docker push kooldev/php:${{ matrix.version }}-oci8-swoole-nginx | ||
docker push kooldev/php:${{ matrix.version }}-oci8-swoole-nginx-prod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM kooldev/php:8.0-nginx-prod | ||
|
||
ENV LD_LIBRARY_PATH /usr/local/instantclient | ||
ENV ORACLE_HOME /usr/local/instantclient | ||
|
||
# Download and unarchive Instant Client v11 | ||
RUN apk add --update libaio libnsl && \ | ||
curl -o /tmp/instaclient-basic.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-basic-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sdk.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sdk-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sqlplus.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-basic.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sdk.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sqlplus.zip && \ | ||
ln -s /usr/local/instantclient_11_2 ${ORACLE_HOME} && \ | ||
ln -s ${ORACLE_HOME}/libclntsh.so.* ${ORACLE_HOME}/libclntsh.so && \ | ||
ln -s ${ORACLE_HOME}/libocci.so.* ${ORACLE_HOME}/libocci.so && \ | ||
ln -s ${ORACLE_HOME}/lib* /usr/lib && \ | ||
ln -s ${ORACLE_HOME}/sqlplus /usr/bin/sqlplus && \ | ||
ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.1 && \ | ||
docker-php-ext-configure oci8 --with-oci8=instantclient,$ORACLE_HOME && \ | ||
docker-php-ext-install oci8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM kooldev/php:8.0-nginx | ||
|
||
ENV LD_LIBRARY_PATH /usr/local/instantclient | ||
ENV ORACLE_HOME /usr/local/instantclient | ||
|
||
# Download and unarchive Instant Client v11 | ||
RUN apk add --update libaio libnsl && \ | ||
curl -o /tmp/instaclient-basic.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-basic-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sdk.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sdk-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sqlplus.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-basic.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sdk.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sqlplus.zip && \ | ||
ln -s /usr/local/instantclient_11_2 ${ORACLE_HOME} && \ | ||
ln -s ${ORACLE_HOME}/libclntsh.so.* ${ORACLE_HOME}/libclntsh.so && \ | ||
ln -s ${ORACLE_HOME}/libocci.so.* ${ORACLE_HOME}/libocci.so && \ | ||
ln -s ${ORACLE_HOME}/lib* /usr/lib && \ | ||
ln -s ${ORACLE_HOME}/sqlplus /usr/bin/sqlplus && \ | ||
ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.1 && \ | ||
docker-php-ext-configure oci8 --with-oci8=instantclient,$ORACLE_HOME && \ | ||
docker-php-ext-install oci8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM kooldev/php:8.0-swoole-nginx-prod | ||
|
||
ENV LD_LIBRARY_PATH /usr/local/instantclient | ||
ENV ORACLE_HOME /usr/local/instantclient | ||
|
||
# Download and unarchive Instant Client v11 | ||
RUN apk add --update libaio libnsl && \ | ||
curl -o /tmp/instaclient-basic.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-basic-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sdk.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sdk-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sqlplus.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-basic.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sdk.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sqlplus.zip && \ | ||
ln -s /usr/local/instantclient_11_2 ${ORACLE_HOME} && \ | ||
ln -s ${ORACLE_HOME}/libclntsh.so.* ${ORACLE_HOME}/libclntsh.so && \ | ||
ln -s ${ORACLE_HOME}/libocci.so.* ${ORACLE_HOME}/libocci.so && \ | ||
ln -s ${ORACLE_HOME}/lib* /usr/lib && \ | ||
ln -s ${ORACLE_HOME}/sqlplus /usr/bin/sqlplus && \ | ||
ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.1 && \ | ||
docker-php-ext-configure oci8 --with-oci8=instantclient,$ORACLE_HOME && \ | ||
docker-php-ext-install oci8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM kooldev/php:8.0-swoole-nginx | ||
|
||
ENV LD_LIBRARY_PATH /usr/local/instantclient | ||
ENV ORACLE_HOME /usr/local/instantclient | ||
|
||
# Download and unarchive Instant Client v11 | ||
RUN apk add --update libaio libnsl && \ | ||
curl -o /tmp/instaclient-basic.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-basic-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sdk.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sdk-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sqlplus.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-basic.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sdk.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sqlplus.zip && \ | ||
ln -s /usr/local/instantclient_11_2 ${ORACLE_HOME} && \ | ||
ln -s ${ORACLE_HOME}/libclntsh.so.* ${ORACLE_HOME}/libclntsh.so && \ | ||
ln -s ${ORACLE_HOME}/libocci.so.* ${ORACLE_HOME}/libocci.so && \ | ||
ln -s ${ORACLE_HOME}/lib* /usr/lib && \ | ||
ln -s ${ORACLE_HOME}/sqlplus /usr/bin/sqlplus && \ | ||
ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.1 && \ | ||
docker-php-ext-configure oci8 --with-oci8=instantclient,$ORACLE_HOME && \ | ||
docker-php-ext-install oci8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM kooldev/php:8.1-nginx-prod | ||
|
||
ENV LD_LIBRARY_PATH /usr/local/instantclient | ||
ENV ORACLE_HOME /usr/local/instantclient | ||
|
||
# Download and unarchive Instant Client v11 | ||
RUN apk add --update libaio libnsl && \ | ||
curl -o /tmp/instaclient-basic.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-basic-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sdk.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sdk-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sqlplus.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-basic.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sdk.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sqlplus.zip && \ | ||
ln -s /usr/local/instantclient_11_2 ${ORACLE_HOME} && \ | ||
ln -s ${ORACLE_HOME}/libclntsh.so.* ${ORACLE_HOME}/libclntsh.so && \ | ||
ln -s ${ORACLE_HOME}/libocci.so.* ${ORACLE_HOME}/libocci.so && \ | ||
ln -s ${ORACLE_HOME}/lib* /usr/lib && \ | ||
ln -s ${ORACLE_HOME}/sqlplus /usr/bin/sqlplus && \ | ||
ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.1 && \ | ||
docker-php-ext-configure oci8 --with-oci8=instantclient,$ORACLE_HOME && \ | ||
docker-php-ext-install oci8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM kooldev/php:8.1-nginx | ||
|
||
ENV LD_LIBRARY_PATH /usr/local/instantclient | ||
ENV ORACLE_HOME /usr/local/instantclient | ||
|
||
# Download and unarchive Instant Client v11 | ||
RUN apk add --update libaio libnsl && \ | ||
curl -o /tmp/instaclient-basic.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-basic-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sdk.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sdk-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sqlplus.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-basic.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sdk.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sqlplus.zip && \ | ||
ln -s /usr/local/instantclient_11_2 ${ORACLE_HOME} && \ | ||
ln -s ${ORACLE_HOME}/libclntsh.so.* ${ORACLE_HOME}/libclntsh.so && \ | ||
ln -s ${ORACLE_HOME}/libocci.so.* ${ORACLE_HOME}/libocci.so && \ | ||
ln -s ${ORACLE_HOME}/lib* /usr/lib && \ | ||
ln -s ${ORACLE_HOME}/sqlplus /usr/bin/sqlplus && \ | ||
ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.1 && \ | ||
docker-php-ext-configure oci8 --with-oci8=instantclient,$ORACLE_HOME && \ | ||
docker-php-ext-install oci8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM kooldev/php:8.1-swoole-nginx-prod | ||
|
||
ENV LD_LIBRARY_PATH /usr/local/instantclient | ||
ENV ORACLE_HOME /usr/local/instantclient | ||
|
||
# Download and unarchive Instant Client v11 | ||
RUN apk add --update libaio libnsl && \ | ||
curl -o /tmp/instaclient-basic.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-basic-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sdk.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sdk-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sqlplus.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-basic.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sdk.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sqlplus.zip && \ | ||
ln -s /usr/local/instantclient_11_2 ${ORACLE_HOME} && \ | ||
ln -s ${ORACLE_HOME}/libclntsh.so.* ${ORACLE_HOME}/libclntsh.so && \ | ||
ln -s ${ORACLE_HOME}/libocci.so.* ${ORACLE_HOME}/libocci.so && \ | ||
ln -s ${ORACLE_HOME}/lib* /usr/lib && \ | ||
ln -s ${ORACLE_HOME}/sqlplus /usr/bin/sqlplus && \ | ||
ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.1 && \ | ||
docker-php-ext-configure oci8 --with-oci8=instantclient,$ORACLE_HOME && \ | ||
docker-php-ext-install oci8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM kooldev/php:8.1-swoole-nginx | ||
|
||
ENV LD_LIBRARY_PATH /usr/local/instantclient | ||
ENV ORACLE_HOME /usr/local/instantclient | ||
|
||
# Download and unarchive Instant Client v11 | ||
RUN apk add --update libaio libnsl && \ | ||
curl -o /tmp/instaclient-basic.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-basic-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sdk.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sdk-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sqlplus.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-basic.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sdk.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sqlplus.zip && \ | ||
ln -s /usr/local/instantclient_11_2 ${ORACLE_HOME} && \ | ||
ln -s ${ORACLE_HOME}/libclntsh.so.* ${ORACLE_HOME}/libclntsh.so && \ | ||
ln -s ${ORACLE_HOME}/libocci.so.* ${ORACLE_HOME}/libocci.so && \ | ||
ln -s ${ORACLE_HOME}/lib* /usr/lib && \ | ||
ln -s ${ORACLE_HOME}/sqlplus /usr/bin/sqlplus && \ | ||
ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.1 && \ | ||
docker-php-ext-configure oci8 --with-oci8=instantclient,$ORACLE_HOME && \ | ||
docker-php-ext-install oci8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM kooldev/php:8.2-nginx-prod | ||
|
||
ENV LD_LIBRARY_PATH /usr/local/instantclient | ||
ENV ORACLE_HOME /usr/local/instantclient | ||
|
||
# Download and unarchive Instant Client v11 | ||
RUN apk add --update libaio libnsl && \ | ||
curl -o /tmp/instaclient-basic.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-basic-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sdk.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sdk-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sqlplus.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-basic.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sdk.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sqlplus.zip && \ | ||
ln -s /usr/local/instantclient_11_2 ${ORACLE_HOME} && \ | ||
ln -s ${ORACLE_HOME}/libclntsh.so.* ${ORACLE_HOME}/libclntsh.so && \ | ||
ln -s ${ORACLE_HOME}/libocci.so.* ${ORACLE_HOME}/libocci.so && \ | ||
ln -s ${ORACLE_HOME}/lib* /usr/lib && \ | ||
ln -s ${ORACLE_HOME}/sqlplus /usr/bin/sqlplus && \ | ||
ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.1 && \ | ||
docker-php-ext-configure oci8 --with-oci8=instantclient,$ORACLE_HOME && \ | ||
docker-php-ext-install oci8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM kooldev/php:8.2-nginx | ||
|
||
ENV LD_LIBRARY_PATH /usr/local/instantclient | ||
ENV ORACLE_HOME /usr/local/instantclient | ||
|
||
# Download and unarchive Instant Client v11 | ||
RUN apk add --update libaio libnsl && \ | ||
curl -o /tmp/instaclient-basic.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-basic-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sdk.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sdk-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sqlplus.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-basic.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sdk.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sqlplus.zip && \ | ||
ln -s /usr/local/instantclient_11_2 ${ORACLE_HOME} && \ | ||
ln -s ${ORACLE_HOME}/libclntsh.so.* ${ORACLE_HOME}/libclntsh.so && \ | ||
ln -s ${ORACLE_HOME}/libocci.so.* ${ORACLE_HOME}/libocci.so && \ | ||
ln -s ${ORACLE_HOME}/lib* /usr/lib && \ | ||
ln -s ${ORACLE_HOME}/sqlplus /usr/bin/sqlplus && \ | ||
ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.1 && \ | ||
docker-php-ext-configure oci8 --with-oci8=instantclient,$ORACLE_HOME && \ | ||
docker-php-ext-install oci8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM kooldev/php:8.2-swoole-nginx-prod | ||
|
||
ENV LD_LIBRARY_PATH /usr/local/instantclient | ||
ENV ORACLE_HOME /usr/local/instantclient | ||
|
||
# Download and unarchive Instant Client v11 | ||
RUN apk add --update libaio libnsl && \ | ||
curl -o /tmp/instaclient-basic.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-basic-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sdk.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sdk-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sqlplus.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-basic.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sdk.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sqlplus.zip && \ | ||
ln -s /usr/local/instantclient_11_2 ${ORACLE_HOME} && \ | ||
ln -s ${ORACLE_HOME}/libclntsh.so.* ${ORACLE_HOME}/libclntsh.so && \ | ||
ln -s ${ORACLE_HOME}/libocci.so.* ${ORACLE_HOME}/libocci.so && \ | ||
ln -s ${ORACLE_HOME}/lib* /usr/lib && \ | ||
ln -s ${ORACLE_HOME}/sqlplus /usr/bin/sqlplus && \ | ||
ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.1 && \ | ||
docker-php-ext-configure oci8 --with-oci8=instantclient,$ORACLE_HOME && \ | ||
docker-php-ext-install oci8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM kooldev/php:8.2-swoole-nginx | ||
|
||
ENV LD_LIBRARY_PATH /usr/local/instantclient | ||
ENV ORACLE_HOME /usr/local/instantclient | ||
|
||
# Download and unarchive Instant Client v11 | ||
RUN apk add --update libaio libnsl && \ | ||
curl -o /tmp/instaclient-basic.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-basic-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sdk.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sdk-linux.x64-11.2.0.4.0.zip && \ | ||
curl -o /tmp/instaclient-sqlplus.zip https://raw.githubusercontent.com/bumpx/oracle-instantclient/master/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-basic.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sdk.zip && \ | ||
unzip -d /usr/local/ /tmp/instaclient-sqlplus.zip && \ | ||
ln -s /usr/local/instantclient_11_2 ${ORACLE_HOME} && \ | ||
ln -s ${ORACLE_HOME}/libclntsh.so.* ${ORACLE_HOME}/libclntsh.so && \ | ||
ln -s ${ORACLE_HOME}/libocci.so.* ${ORACLE_HOME}/libocci.so && \ | ||
ln -s ${ORACLE_HOME}/lib* /usr/lib && \ | ||
ln -s ${ORACLE_HOME}/sqlplus /usr/bin/sqlplus && \ | ||
ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.1 && \ | ||
docker-php-ext-configure oci8 --with-oci8=instantclient,$ORACLE_HOME && \ | ||
docker-php-ext-install oci8 |
Oops, something went wrong.