26 lines
1.1 KiB
Docker
26 lines
1.1 KiB
Docker
# ============================================================================
|
|
# Karate-Wiki Dockerfile (Multi-Arch: laeuft nativ auf Raspberry Pi 5 ARM64)
|
|
# Nutzt das neueste offizielle Release MediaWiki 1.46 (1.46.2, PHP 8.3/8.4)
|
|
# ============================================================================
|
|
ARG MW_VERSION=1.46
|
|
FROM mediawiki:${MW_VERSION}
|
|
|
|
# Pakete fuer Video-Vorschaubilder (ffmpeg) & Bildverarbeitung installieren
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ffmpeg \
|
|
imagemagick \
|
|
unzip \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# PHP Upload-Limits fuer grosse Karate-Videos (500 MB)
|
|
COPY config/php-uploads.ini /usr/local/etc/php/conf.d/zz-karate-uploads.ini
|
|
|
|
# Vereins-Logos & Favicon ins Image kopieren
|
|
COPY assets/ /var/www/html/resources/assets/
|
|
|
|
# DB-Initialisierungshilfe fuer Erst-Deployments auf dem Raspberry Pi
|
|
COPY scripts/ensure-db-schema.php /usr/local/bin/ensure-db-schema.php
|
|
|
|
# Unsere eigene, wartungsfreie Video- & Vereins-Extension
|
|
COPY extensions-custom/KarateMedia /var/www/html/extensions/KarateMedia
|