File tree Expand file tree Collapse file tree 2 files changed +26
-14
lines changed
Expand file tree Collapse file tree 2 files changed +26
-14
lines changed Original file line number Diff line number Diff line change 5757 curl -L https://ipinfo.io/data/free/country_asn.mmdb?token=${{ secrets.IPINFO_APIKEY }} -o backend/country_asn.mmdb
5858 fi
5959
60+ # Set up QEMU for multi-arch builds
61+ - name : Set up QEMU
62+ uses : docker/setup-qemu-action@v3
63+
6064 # Set up BuildKit Docker container builder to be able to build
6165 # multi-platform images and export cache
6266 # https://github.com/docker/setup-buildx-action
Original file line number Diff line number Diff line change 1- FROM php:8-alpine
2- RUN apk add --quiet --no-cache \
1+ FROM php:8.3-alpine3.19
2+
3+ # Use the mlocati helper to install PHP extensions in a platform-agnostic way.
4+ ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
5+
6+ # Install runtime packages and let the helper install/compile PHP extensions
7+ RUN apk add --no-cache \
38 bash \
49 apache2 \
5- php-apache2 \
6- php-ctype \
7- php-phar \
8- php-gd \
9- php-openssl \
10- php-pdo \
11- php-pdo_mysql \
12- php-pdo_pgsql \
13- php-pdo_sqlite \
14- php-pgsql \
15- php-session \
16- php-sqlite3
10+ wget \
11+ curl \
12+ && apk add --no-cache --virtual .build-deps \
13+ build-base \
14+ autoconf \
15+ libpng-dev \
16+ libjpeg-turbo-dev \
17+ libwebp-dev \
18+ freetype-dev \
19+ libxml2-dev \
20+ mariadb-connector-c-dev \
21+ postgresql-dev \
22+ sqlite-dev \
23+ && install-php-extensions iconv gd pdo pdo_mysql pdo_pgsql pdo_sqlite pgsql zip \
24+ && apk del .build-deps
1725
1826# Note: PHP extensions are provided via Alpine `php-*` packages above.
1927# The docker-php-extension-installer is redundant when using those packages,
You can’t perform that action at this time.
0 commit comments