chore: Update Dockerfiles, Makefile and documentation
- Updated Dockerfile.production - Updated Makefile - Updated deployment documentation - Updated docker/ci/Dockerfile, docker/php/Dockerfile, docker/worker/Dockerfile - Updated dependency scanning documentation - Added git-hooks documentation
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# Dockerfile für CI/CD Workflows
|
||||
# Optimiert für Gitea Actions Runner mit PHP 8.5 und allen benötigten Tools
|
||||
FROM php:8.5.0RC3-cli
|
||||
ARG PHP_VERSION=8.5.0RC3
|
||||
# Override via --build-arg PHP_VERSION=8.5.0RCX to track upstream releases
|
||||
FROM php:${PHP_VERSION}-cli
|
||||
|
||||
# System-Abhängigkeiten für CI/CD
|
||||
RUN apt-get update && apt-get install -y \
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Dockerfile für PHP-FPM
|
||||
FROM php:8.5.0RC3-fpm AS base
|
||||
ARG PHP_VERSION=8.5.0RC3
|
||||
# Override via --build-arg PHP_VERSION=8.5.0RCX to track upstream releases
|
||||
FROM php:${PHP_VERSION}-fpm AS base
|
||||
|
||||
# System-Abhängigkeiten: Werden selten geändert, daher ein eigener Layer
|
||||
RUN apt-get update && apt-get install -y \
|
||||
@@ -155,7 +157,8 @@ COPY tsconfig.json ./
|
||||
RUN npm run build
|
||||
|
||||
# Stage: Production Runtime
|
||||
FROM php:8.5.0RC3-fpm AS production
|
||||
ARG PHP_VERSION=8.5.0RC3
|
||||
FROM php:${PHP_VERSION}-fpm AS production
|
||||
|
||||
# Install system dependencies + nginx for production
|
||||
RUN apt-get update && apt-get install -y \
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
FROM php:8.5-rc-cli
|
||||
ARG PHP_VERSION=8.5.0RC3
|
||||
# Keep aligned with runtime PHP tag (override via --build-arg PHP_VERSION=X)
|
||||
FROM php:${PHP_VERSION}-cli
|
||||
|
||||
# Install system dependencies including libraries for GD and other extensions
|
||||
RUN apt-get update && apt-get install -y \
|
||||
|
||||
Reference in New Issue
Block a user