From 5c13e1ee2d67ba86368064192aeada28f157779f Mon Sep 17 00:00:00 2001 From: pooneyy <85266337+pooneyy@users.noreply.github.com> Date: Fri, 3 Oct 2025 15:51:58 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20build(acg-faka):=20implement=20c?= =?UTF-8?q?ustom=20docker=20build=20process?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - create new Dockerfile with php 8.4 and apache bookworm base - install required dependencies (gd, pdo_mysql, zip extensions) - clone acg-faka repository directly during build --- apps/acg-faka/Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 apps/acg-faka/Dockerfile diff --git a/apps/acg-faka/Dockerfile b/apps/acg-faka/Dockerfile new file mode 100644 index 000000000..f408b9df8 --- /dev/null +++ b/apps/acg-faka/Dockerfile @@ -0,0 +1,21 @@ +From php:8.4-apache-bookworm +ARG REF main +RUN apt-get update && apt-get install -y \ + git \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libwebp-dev \ + libzip-dev \ + zlib1g-dev && \ + docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg --with-webp && \ + docker-php-ext-configure pdo_mysql --with-pdo-mysql=mysqlnd && \ + docker-php-ext-configure zip && \ + docker-php-ext-install gd pdo_mysql zip && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* && \ + git config --global --add safe.directory /var/www/html && \ + git clone https://github.com/lizhipay/acg-faka . && \ + git checkout $REF && \ + rm -rf .git && \ + a2enmod rewrite \ No newline at end of file