Commit c1428c25 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Merge branch 'development'

parents 85c85ca7 07575865
Loading
Loading
Loading
Loading
+18
Changes for Dockerfile: 18 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -59,6 +59,24 @@ RUN pear config-set http_proxy "$HTTP_PROXY" && \
    pecl install xdebug && docker-php-ext-enable xdebug && \
    pecl install memcached && docker-php-ext-enable memcached

# Package PHP Oracle OCI8
ADD docker/instantclient-basiclite-linux.x64-12.2.0.1.0.zip /tmp/
ADD docker/instantclient-sdk-linux.x64-12.2.0.1.0.zip /tmp/
ADD docker/instantclient-sqlplus-linux.x64-12.2.0.1.0.zip /tmp/
RUN unzip /tmp/instantclient-basiclite-linux.x64-12.2.0.1.0.zip -d /usr/local/ && \
    unzip /tmp/instantclient-sdk-linux.x64-12.2.0.1.0.zip -d /usr/local/ && \
    unzip /tmp/instantclient-sqlplus-linux.x64-12.2.0.1.0.zip -d /usr/local/ && \
    ln -s /usr/local/instantclient_12_2 /usr/local/instantclient && \
    ln -s /usr/local/instantclient/libclntsh.so.12.1 /usr/local/instantclient/libclntsh.so && \
    ln -s /usr/local/instantclient/sqlplus /usr/bin/sqlplus && \
    echo 'export LD_LIBRARY_PATH="/usr/local/instantclient"' >> /etc/apache2/envvars && \
#    echo 'export LD_LIBRARY_PATH="/usr/local/instantclient"' >> /root/.bashrc && \
#    echo 'umask 002' >> /root/.bashrc && \
    echo 'instantclient,/usr/local/instantclient' | pecl install oci8 && \
    echo "extension=oci8.so" > /usr/local/etc/php/conf.d/php-oci8.ini

ENV LD_LIBRARY_PATH /usr/local/instantclient

# Config PHP.
ADD docker/php.conf /usr/local/etc/php/conf.d/webapp.ini
#ADD docker/php-opcache.ini /usr/local/etc/php/conf.d/01-opcache.ini
+2 −1
Changes for composer.json: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -10,7 +10,8 @@
    "require": {
        "unicaen/app":                  "^1.2",
        "unicaen/auth":                 "^1.2",
        "unicaen/ldap": "^2.2"
        "unicaen/ldap": "^2.2",
        "unicaen/octopus": "^0.2.0"
    },
    "require-dev": {
        "unicaen/code":                         "^1.0",
+31 −3
Changes for composer.lock: 31 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
        "This file is @generated automatically"
    ],
    "content-hash": "bfc07f403e04b3d5970f0443758676ac",
    "content-hash": "755305381140989078e604b92659e437",
    "packages": [
        {
            "name": "bjyoungblood/bjy-authorize",
@@ -762,12 +762,12 @@
            "version": "v2.5.14",
            "source": {
                "type": "git",
                "url": "https://github.com/doctrine/doctrine2.git",
                "url": "https://github.com/doctrine/orm.git",
                "reference": "810a7baf81462a5ddf10e8baa8cb94b6eec02754"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/doctrine/doctrine2/zipball/810a7baf81462a5ddf10e8baa8cb94b6eec02754",
                "url": "https://api.github.com/repos/doctrine/orm/zipball/810a7baf81462a5ddf10e8baa8cb94b6eec02754",
                "reference": "810a7baf81462a5ddf10e8baa8cb94b6eec02754",
                "shasum": ""
            },
@@ -1519,6 +1519,34 @@
            "description": "Module Ldap des applications Unicaen",
            "time": "2018-02-26T08:32:18+00:00"
        },
        {
            "name": "unicaen/octopus",
            "version": "0.1",
            "source": {
                "type": "git",
                "url": "https://git.unicaen.fr/lib/unicaen/octopus.git",
                "reference": "9802714d7b5640ec1678c8d3d800a5a3986ae703"
            },
            "require": {
                "bjyoungblood/bjy-authorize": ">=1.4",
                "unicaen/app": "^1.3",
                "zf-commons/zfc-user-doctrine-orm": ">=0.1"
            },
            "require-dev": {
                "phpunit/phpunit": ">=3.7"
            },
            "type": "library",
            "autoload": {
                "psr-0": {
                    "UnicaenOctopus": "src/"
                },
                "classmap": [
                    "./Module.php"
                ]
            },
            "description": "Module de recupération des entités provenant octopus",
            "time": "2019-02-01T12:57:45+00:00"
        },
        {
            "name": "zendframework/zend-authentication",
            "version": "2.4.13",
+2 −1
Changes for config/application.config.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -4,8 +4,9 @@ $modules = [
    'ZfcBase', 'DoctrineModule', 'DoctrineORMModule', 'ZfcUser', 'ZfcUserDoctrineORM',
    'BjyAuthorize', 'AssetManager',
    'UnicaenApp', 'UnicaenAuth', 'UnicaenLdap',
    'Application',
    'Mailing',
    'Octopus',
    'Application',
];

if ( 'development' == getenv('APPLICATION_ENV') ?: 'production' ) {
+1 −1
Changes for docker-compose.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ services:
    container_name: preecog
    build:
      context: .
      dockerfile: Dockerfile.php7.dev
      dockerfile: Dockerfile
    ports:
     - "8111:80"
    volumes:
Loading