rater/.forgejo/ci/Dockerfile
myrmidex 763fc17041
All checks were successful
Build CI Image / build (push) Successful in 10m18s
CI / ci (push) Successful in 9m33s
17 - Add custom CI image build with PHP 8.4
2026-06-10 21:56:25 +00:00

22 lines
745 B
Docker

# CI image: catthehacker/ubuntu:act-latest + PHP 8.4 + extensions + Composer
# Used by .forgejo/workflows/ci.yml — built/pushed by .forgejo/workflows/ci-image.yml
FROM catthehacker/ubuntu:act-latest
ENV DEBIAN_FRONTEND=noninteractive
RUN add-apt-repository -y ppa:ondrej/php \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
php8.4-cli \
php8.4-pgsql \
php8.4-mbstring \
php8.4-xml \
php8.4-dom \
php8.4-intl \
php8.4-pcov \
&& update-alternatives --set php /usr/bin/php8.4 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Composer (latest 2.x, static binary from official image)
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer