From 8f284e55b8b4453fd223b44e37e98db31c03fb2f Mon Sep 17 00:00:00 2001 From: pooneyy <85266337+pooneyy@users.noreply.github.com> Date: Fri, 3 Oct 2025 19:28:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20build(maccms10):=20add=20dockerf?= =?UTF-8?q?ile=20for=20maccms10=20application?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - create dockerfile based on php:8-apache-bookworm - install required dependencies (git, libzip-dev) - configure and install php extensions (pdo_mysql, zip) - clone maccms10 repository from github and checkout specified ref - clean up git repository and set proper permissions for application directories --- apps/maccms10/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 apps/maccms10/Dockerfile diff --git a/apps/maccms10/Dockerfile b/apps/maccms10/Dockerfile new file mode 100644 index 000000000..705afd17f --- /dev/null +++ b/apps/maccms10/Dockerfile @@ -0,0 +1,15 @@ +From php:8-apache-bookworm +ARG REF master +RUN apt-get update && apt-get install -y \ + git \ + libzip-dev && \ + docker-php-ext-configure pdo_mysql --with-pdo-mysql=mysqlnd && \ + docker-php-ext-configure zip && \ + docker-php-ext-install 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/magicblack/maccms10 . && \ + git checkout $REF && \ + rm -rf .git && \ + chmod -R 777 application runtime upload