diff --git a/.github/workflows/create-psalm-container.yml b/.github/workflows/create-psalm-container.yml index b5926aa4..d2bfa129 100644 --- a/.github/workflows/create-psalm-container.yml +++ b/.github/workflows/create-psalm-container.yml @@ -22,7 +22,11 @@ jobs: run: | set -x sed -i 's|FROM php:7.4-alpine|FROM php:8.0-alpine|' "psalm-github-actions/Dockerfile" - set +x + cat << APCU >> "psalm-github-actions/Dockerfile" + RUN mkdir -p /usr/src/php/ext/apcu && \ + curl -fsSL https://pecl.php.net/get/apcu | tar xvz -C "/usr/src/php/ext/apcu" --strip 1 && \ + docker-php-ext-install apcu + APCU - name: Log in to GitHub Docker Registry uses: docker/login-action@v1