drandin / docker-php-workspace Goto Github PK
View Code? Open in Web Editor NEWPHP development environment for Docker
PHP development environment for Docker
на шаге сборки 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
#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-ini/8.0/php.ini файл ?
Почему его не добавил в проект ?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.