Skip to content
Draft

v5 #227

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:
- { tag: '3.x', php: '8.3', distro: bookworm, version-override: "v3-dev", latest-tag: false }
- { tag: 'v4.0', php: '8.4', distro: bookworm, version-override: "", latest-tag: true }
- { tag: '4.x', php: '8.4', distro: bookworm, version-override: "v4-dev", latest-tag: false }

# - { tag: 'v5.0', php: '8.5', distro: trixie, version-override: "", latest-tag: false }
# - { tag: '5.x', php: '8.5', distro: trixie, version-override: "v5-dev", latest-tag: false }

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
include:
- { php: '8.3', distro: bookworm }
- { php: '8.4', distro: bookworm }
- { php: '8.5', distro: trixie }

steps:
- uses: actions/checkout@v2
- name: Build Image
Expand Down
26 changes: 9 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# syntax=docker/dockerfile:1

ARG PHP_VERSION="8.4"
ARG DEBIAN_VERSION="bookworm"
ARG PHP_VERSION="8.5"
ARG DEBIAN_VERSION="trixie"

FROM php:${PHP_VERSION}-fpm-${DEBIAN_VERSION} AS pimcore_php_min

ARG DEBIAN_VERSION

COPY --chmod=0755 files/build-*.sh /usr/local/bin/

RUN set -eux; \
\
DPKG_ARCH="$(dpkg --print-architecture)"; \
echo "deb http://deb.debian.org/debian bookworm-backports main" > /etc/apt/sources.list.d/backports.list; \
echo "deb http://deb.debian.org/debian ${DEBIAN_VERSION}-backports main" > /etc/apt/sources.list.d/backports.list; \
apt-get update; \
apt-get upgrade -y; \
\
Expand Down Expand Up @@ -94,19 +96,15 @@ WORKDIR /var/www/html

CMD ["php-fpm"]




FROM pimcore_php_min AS pimcore_php_default

ARG DEBIAN_VERSION

RUN set -eux; \
\
build-install.sh; \
\
DPKG_ARCH="$(dpkg --print-architecture)"; \
echo "deb https://www.deb-multimedia.org bookworm main non-free" > /etc/apt/sources.list.d/deb-multimedia.list; \
apt-get update -oAcquire::AllowInsecureRepositories=true; \
apt-get install -y --allow-unauthenticated deb-multimedia-keyring; \
apt-get update; \
\
# tools used by Pimcore
Expand All @@ -133,8 +131,8 @@ RUN set -eux; \
\
# ImageMagick
apt-get install -y \
imagemagick-7 \
libmagickwand-7-dev \
imagemagick \
libmagickwand-dev \
; \
\
docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg --with-webp; \
Expand All @@ -159,9 +157,6 @@ RUN set -eux; \

CMD ["php-fpm"]




FROM pimcore_php_default AS pimcore_php_max

RUN set -eux; \
Expand Down Expand Up @@ -190,9 +185,6 @@ RUN set -eux; \

CMD ["php-fpm"]




FROM pimcore_php_default AS pimcore_php_debug

RUN set -eux; \
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ Use either of the following commands:


### Pimcore version compatibility & recommendations
| Image / Pimcore | v10 | v11 | v2023.3 | v2024.4 |v2025.x
|-----------------|-----|-----|---------|---------|------|
| v1 | ✅ | ✅ | ✅ | ✅ | ❌ |
| v2 | ❌ | ✅ | ✅ | ✅ | ❌ |
| v3 | ❌ | ✅* | ✅* | ✅* | ✅ |
| v4 | ❌ | ❌ | ❌ | ❌ | ✅* |
| Image / Pimcore | v10 | v11 | v2023.3 | v2024.4 |v2025.4 | v2026.x |
|-----------------|-----|-----|---------|---------|------| ------|
| v1 | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ |
| v2 | ❌ | ✅ | ✅ | ✅ | ❌ | ❌ |
| v3 | ❌ | ✅* | ✅* | ✅* | ✅ | ✅ |
| v4 | ❌ | ❌ | ❌ | ❌ | ✅* | ✅ |
| v5 | ❌ | ❌ | ❌ | ❌ | ✅ | ✅* |

> *) recommended version

Expand Down
Loading