Skip to content

Commit

Permalink
feat!: update php to version 8 as 2.8.6 produced problems on php 7
Browse files Browse the repository at this point in the history
  • Loading branch information
749 committed Nov 18, 2024
1 parent fd00212 commit faef6e1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

FROM php:7-fpm-alpine
FROM php:8-fpm-alpine

LABEL org.opencontainers.image.authors="Jan Giesenberg <[email protected]>"

Expand All @@ -22,7 +22,7 @@ RUN apk add --no-cache rsync freetype-dev libpng-dev jpeg-dev unzip sudo bash ge
&& docker-php-ext-install -j$(nproc) gd opcache mysqli pdo pdo_mysql \
&& rm -rf /usr/src/php/

ARG MODX_VERSION 2.8.2
ARG MODX_VERSION 2.8.7
ENV MODX_VERSION ${MODX_VERSION}

# upstream tarballs include ./modx-${MODX_VERSION}/
Expand Down
16 changes: 16 additions & 0 deletions docker-compose.local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# docker-modx-revolution An auto-updating dockerfile to run ModX Revolution CMS
# Copyright (C) 2021 Jan Giesenberg <[email protected]>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
services:
modx_php:
image: ""
build: build/

0 comments on commit faef6e1

Please sign in to comment.