mirror of
https://github.com/pelican-dev/panel.git
synced 2025-03-14 09:57:36 +00:00
* fix(docker): enable multi-arch builds * Remove workflow_dispatch and add missing space * There is no need for a matrix in the job build-and-push * Update docker-publish.yml * Only keep the artifacts for 7 days * Bump dockerfile labs version to 1.13 * Added a comment in the Dockerfile explaining how to self-build it * build-php-base cache should not be tagged
10 lines
430 B
Docker
10 lines
430 B
Docker
# ================================
|
|
# Stage 0: Build PHP Base Image
|
|
# ================================
|
|
FROM --platform=$TARGETOS/$TARGETARCH php:8.3-fpm-alpine
|
|
|
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
|
|
RUN install-php-extensions bcmath gd intl zip opcache pcntl posix pdo_mysql
|
|
|
|
RUN rm /usr/local/bin/install-php-extensions |