mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-24 20:48:18 +03:00
php7.0 fix
This commit is contained in:
parent
0f70c5ee4d
commit
7f00748ee9
@ -65,9 +65,9 @@ RUN echo "TLS_REQCERT never" >> /etc/ldap/ldap.conf
|
||||
##############################################################################
|
||||
# Cassandra PHP Drivers Install
|
||||
##############################################################################
|
||||
RUN ln -sf ${CAS_PHP_INI} ${PHP_DIR}/apache2/conf.d/cassandra.ini && \
|
||||
php -m && \
|
||||
php -v
|
||||
#RUN ln -sf ${CAS_PHP_INI} ${PHP_DIR}/apache2/conf.d/cassandra.ini && \
|
||||
# php -m && \
|
||||
# php -v
|
||||
|
||||
##################################################################
|
||||
# Installing IOnCube addon
|
||||
|
@ -195,35 +195,35 @@ RUN phpenmod \
|
||||
##############################################################################
|
||||
# Cassandra CPP Support Install
|
||||
##############################################################################
|
||||
COPY addons/multiarch-support_2.28_amd64.deb /tmp/cassandra-php-driver/multiarch-support_2.28_amd64.deb
|
||||
RUN wget -c --random-wait --user-agent="Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36" --directory-prefix=/tmp/cassandra-php-driver \
|
||||
https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.35.0/libuv1_1.35.0-1_amd64.deb \
|
||||
https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.35.0/libuv1-dev_1.35.0-1_amd64.deb \
|
||||
https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.35.0/libuv1-dbg_1.35.0-1_amd64.deb \
|
||||
https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.16.0/cassandra-cpp-driver-dbg_2.16.0-1_amd64.deb \
|
||||
https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.16.0/cassandra-cpp-driver-dev_2.16.0-1_amd64.deb \
|
||||
https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.16.0/cassandra-cpp-driver_2.16.0-1_amd64.deb
|
||||
#COPY addons/multiarch-support_2.28_amd64.deb /tmp/cassandra-php-driver/multiarch-support_2.28_amd64.deb
|
||||
#RUN wget -c --random-wait --user-agent="Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36" --directory-prefix=/tmp/cassandra-php-driver \
|
||||
# https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.35.0/libuv1_1.35.0-1_amd64.deb \
|
||||
# https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.35.0/libuv1-dev_1.35.0-1_amd64.deb \
|
||||
# https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.35.0/libuv1-dbg_1.35.0-1_amd64.deb \
|
||||
# https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.16.0/cassandra-cpp-driver-dbg_2.16.0-1_amd64.deb \
|
||||
# https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.16.0/cassandra-cpp-driver-dev_2.16.0-1_amd64.deb \
|
||||
# https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.16.0/cassandra-cpp-driver_2.16.0-1_amd64.deb
|
||||
|
||||
RUN cd /tmp/cassandra-php-driver && \
|
||||
dpkg -i ./multiarch-support_2.28_amd64.deb && \
|
||||
dpkg -i ./libuv1_1.35.0-1_amd64.deb && \
|
||||
dpkg -i ./libuv1-dev_1.35.0-1_amd64.deb && \
|
||||
dpkg -i ./libuv1-dbg_1.35.0-1_amd64.deb && \
|
||||
dpkg -i ./cassandra-cpp-driver_2.16.0-1_amd64.deb && \
|
||||
dpkg -i ./cassandra-cpp-driver-dev_2.16.0-1_amd64.deb && \
|
||||
dpkg -i ./cassandra-cpp-driver-dbg_2.16.0-1_amd64.deb
|
||||
#RUN cd /tmp/cassandra-php-driver && \
|
||||
# dpkg -i ./multiarch-support_2.28_amd64.deb && \
|
||||
# dpkg -i ./libuv1_1.35.0-1_amd64.deb && \
|
||||
# dpkg -i ./libuv1-dev_1.35.0-1_amd64.deb && \
|
||||
# dpkg -i ./libuv1-dbg_1.35.0-1_amd64.deb && \
|
||||
# dpkg -i ./cassandra-cpp-driver_2.16.0-1_amd64.deb && \
|
||||
# dpkg -i ./cassandra-cpp-driver-dev_2.16.0-1_amd64.deb && \
|
||||
# dpkg -i ./cassandra-cpp-driver-dbg_2.16.0-1_amd64.deb
|
||||
|
||||
##############################################################################
|
||||
# Cassandra PHP Drivers Install
|
||||
##############################################################################
|
||||
RUN pecl install cassandra && \
|
||||
echo "extension = ${PHP_MODULE_PATH}/cassandra.so" > ${CAS_PHP_INI} && \
|
||||
ln -sf ${CAS_PHP_INI} ${PHP_DIR}/cgi/conf.d/cassandra.ini && \
|
||||
ln -sf ${CAS_PHP_INI} ${PHP_DIR}/cli/conf.d/cassandra.ini && \
|
||||
ln -sf ${CAS_PHP_INI} ${PHP_DIR}/fpm/conf.d/cassandra.ini && \
|
||||
# ln -sf ${CAS_PHP_INI} ${PHP_DIR}/apache2/conf.d/cassandra.ini && \
|
||||
php -m && \
|
||||
php -v
|
||||
#RUN pecl install cassandra && \
|
||||
# echo "extension = ${PHP_MODULE_PATH}/cassandra.so" > ${CAS_PHP_INI} && \
|
||||
# ln -sf ${CAS_PHP_INI} ${PHP_DIR}/cgi/conf.d/cassandra.ini && \
|
||||
# ln -sf ${CAS_PHP_INI} ${PHP_DIR}/cli/conf.d/cassandra.ini && \
|
||||
# ln -sf ${CAS_PHP_INI} ${PHP_DIR}/fpm/conf.d/cassandra.ini && \
|
||||
## ln -sf ${CAS_PHP_INI} ${PHP_DIR}/apache2/conf.d/cassandra.ini && \
|
||||
# php -m && \
|
||||
# php -v
|
||||
|
||||
##################################################################
|
||||
# Installing timezonedb addon
|
||||
|
Loading…
x
Reference in New Issue
Block a user