Git Product home page Git Product logo

docker-php-workspace's Issues

cp: omitting directory '/usr/share/zoneinfo'

на шаге сборки php всё время выбрасывает ошибку cp: omitting directory '/usr/share/zoneinfo'

а если заменить переменную текстом, то всё проходит нормально

RUN echo "UTC" && apk --update add tzdata && \
    cp /usr/share/zoneinfo/UTC /etc/localtime && \
    echo UTC > /etc/timezone && \
    apk del tzdata

проблема с совместимостью пакета mongodb и PHP v7.1

При инсталляции PHP v7.1 на 15 шаге вываливается проблема с совместимостью пакета mongodb, подскажите как исправить:

#7 291.2 (15/15) Installing .docker-php-mongodb-dependencies (20220309.084306) #7 291.2 Executing busybox-1.30.1-r2.trigger #7 291.2 Executing ca-certificates-20190108-r0.trigger #7 291.3 OK: 675 MiB in 201 packages #7 303.7 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update #7 303.8 pecl/mongodb requires PHP (version >= 7.2.0, version <= 8.99.99), installed version is 7.1.33 #7 303.8 No valid packages found #7 303.8 install failed executor failed running [/bin/sh -c php -m && docker-php-ext-configure bcmath --enable-bcmath && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-png-dir=/usr/include/ && docker-php-ext-configure gettext && docker-php-ext-configure intl --enable-intl && docker-php-ext-configure opcache --enable-opcache && docker-php-ext-configure pcntl --enable-pcntl && docker-php-ext-configure soap && docker-php-ext-configure zip --enable-zip --with-libzip && docker-php-ext-install exif mysqli opcache xsl bcmath gd gettext intl opcache pcntl soap zip calendar pdo_mysql && pecl install redis && docker-php-ext-enable redis && apk add --update --no-cache --virtual .docker-php-mongodb-dependencies heimdal-dev && pecl install mongodb && docker-php-ext-enable mongodb && apk del .docker-php-mongodb-dependencies && apk add --update --no-cache libpq && apk add --update --no-cache --virtual .docker-php-postgresql-dependencies postgresql-client postgresql-dev && docker-php-ext-configure pdo_pgsql && docker-php-ext-configure pgsql && docker-php-ext-install pdo_pgsql pgsql && apk del .docker-php-postgresql-dependencies]: exit code: 1 ERROR: Service 'php-7.1' failed to build : Build failed ERROR: readlink /var/lib/docker/overlay2: invalid argument

PHP 7.1 Xdebug not installed.

When in the env file set DOCKER_PHP_ENABLE_XDEBUG='on' and active php 7.1, docker not can install xdebug and show error

=> ERROR [5/9] RUN if [ "on" == "on" ]; then yes | pecl install xdebug && echo "zend_extension=$(find /usr/local/lib/php/extension 6.4s
ERROR: Service 'php-7.1' failed to build : Build failed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.