2026-03-24 20:13:16 +01:00
|
|
|
FROM php:8.5-fpm AS base
|
2026-02-04 23:31:53 +01:00
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
|
git \
|
|
|
|
|
unzip \
|
add composer-unused, comprehensive docs, and project restructure
- Add icanhazstring/composer-unused as dev dependency for dependency hygiene checks
- Add German documentation (docs/) covering architecture, conventions, workflows, and developer checklists
- Add API layer (ApiAuth, ApiBootstrap, ApiResponse), audit, scheduler, custom fields, and SSO services
- Add Microsoft OIDC SSO, API token management, and user lifecycle features
- Add swagger-ui vendor integration and OpenAPI spec
- Add production Docker setup and bin/ scripts
- Update composer dependencies, config, templates, and frontend assets throughout
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 15:27:35 +01:00
|
|
|
libzip-dev \
|
2026-02-04 23:31:53 +01:00
|
|
|
libmemcached-dev \
|
|
|
|
|
zlib1g-dev \
|
|
|
|
|
libssl-dev \
|
|
|
|
|
libjpeg-dev \
|
|
|
|
|
libpng-dev \
|
|
|
|
|
libwebp-dev \
|
2026-03-25 07:26:04 +01:00
|
|
|
libldap2-dev \
|
2026-03-24 20:13:16 +01:00
|
|
|
&& pecl install memcached \
|
|
|
|
|
&& docker-php-ext-enable memcached \
|
2026-02-04 23:31:53 +01:00
|
|
|
&& docker-php-ext-configure gd --with-jpeg --with-webp \
|
2026-03-25 07:26:04 +01:00
|
|
|
&& docker-php-ext-install pdo_mysql mysqli gd zip ldap \
|
2026-02-04 23:31:53 +01:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
2026-03-24 20:13:16 +01:00
|
|
|
|
|
|
|
|
WORKDIR /var/www
|
|
|
|
|
|
|
|
|
|
# ── Development profile (default) ────────────────────────────────────
|
|
|
|
|
FROM base AS dev
|
|
|
|
|
|
|
|
|
|
RUN pecl install xdebug \
|
|
|
|
|
&& docker-php-ext-enable xdebug
|
|
|
|
|
|
2026-02-04 23:31:53 +01:00
|
|
|
COPY docker/php/php.ini /usr/local/etc/php/conf.d/zzz-minty-dev.ini
|
2026-03-22 13:23:27 +01:00
|
|
|
COPY docker/php/xdebug.ini /usr/local/etc/php/conf.d/zzz-xdebug.ini
|
2026-02-04 23:31:53 +01:00
|
|
|
|
2026-03-24 20:13:16 +01:00
|
|
|
# ── Production profile ───────────────────────────────────────────────
|
|
|
|
|
# No xdebug — smaller image, no debug overhead or attack surface.
|
|
|
|
|
FROM base AS prod
|
|
|
|
|
|
|
|
|
|
COPY docker/php/php.prod.ini /usr/local/etc/php/conf.d/zzz-minty-prod.ini
|