From 2024cb8f2673a4242116f8ec2ff58df39be7b461 Mon Sep 17 00:00:00 2001 From: szaimen Date: Mon, 28 Feb 2022 15:40:31 +0100 Subject: [PATCH] add apcu into the psalm container Signed-off-by: szaimen --- .github/workflows/create-psalm-container.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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