aws-fargate-with-php icon indicating copy to clipboard operation
aws-fargate-with-php copied to clipboard

Running locally

Open rrubio opened this issue 3 years ago • 0 comments

I'm getting the following error when trying to run locally "docker-compose up" any ideas?

Running on a mac:

+ pecl install apcu-5.1.17
No releases available for package "pecl.php.net/apcu"
install failed
ERROR: Service 'php-fpm' failed to build : The command '/bin/sh -c set -eux;     
apk add --no-cache --virtual .build-deps         
$PHPIZE_DEPS         coreutils         freetype-dev         icu-dev         libjpeg-turbo-dev         libtool         libwebp-dev         libzip-dev         mariadb-dev     ;         
docker-php-ext-configure gd --with-jpeg=/usr/include/ --with-webp=/usr/include --with-freetype=/usr/include/;    
docker-php-ext-install -j$(nproc) bcmath exif gd intl pdo_mysql 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 .laravelapp-phpexts-rundeps $runDeps;         
apk del .build-deps' returned a non-zero code: 1

rrubio avatar Apr 13 '21 03:04 rrubio