Unable to up project with docker-compose
See original GitHub issueFreshly unzipped code (last version available) return this error when docker-compose up is executed
ERROR: Service 'php' failed to build: The command '/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS icu-dev libzip-dev postgresql-dev zlib-dev ; docker-php-ext-configure zip --with-libzip; docker-php-ext-install -j$(nproc) intl pdo_pgsql zip ; pecl install apcu-${APCU_VERSION} ; pecl clear-cache; docker-php-ext-enable apcu opcache ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache --virtual .api-phpexts-rundeps $runDeps; apk del .build-deps' returned a non-zero code: 2
Any idea?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)

Top Related StackOverflow Question
It was already fixed in https://github.com/api-platform/api-platform/commit/f3e50910f2c204209d7b9db3ad280a11cd8deecf (just released in v2.3.1 🎉)
after couple lines of
try apk updatei addit works 😄