# The image of the container `game-maker-video` (#402): PHP and ffmpeg, nothing else. The worker
# itself is not baked in: compose.yml mounts the checkout, so a change to tools/video-worker.php or
# api/lib/Video*.php needs a restart, not a rebuild.
#
# The same Debian as the CI image (tools/ci/Dockerfile), so CI converts with the same ffmpeg.
# Built on stein2 like that one, for the same reasons (dead DNS in the default bridge network):
#
#   DOCKER_BUILDKIT=0 docker build --network git_default -t game-maker-video:latest tools/video
FROM debian:12-slim

RUN apt-get update && apt-get install -y --no-install-recommends php-cli php-mbstring ffmpeg \
 && rm -rf /var/lib/apt/lists/*
