# Build ONLY after reference review/export and environment preflight. # Build context: this task's environment directory. # Pinned Friction-only expression-enabled ancestor; must be supplied explicitly. ARG BASE_IMAGE FROM --platform=linux/amd64 ${BASE_IMAGE} USER root RUN apt-get update && apt-get install -y --no-install-recommends tesseract-ocr tesseract-ocr-eng && rm -rf /var/lib/apt/lists/* RUN rm -rf /root/media /root/edit && mkdir -p /root/media /root/edit COPY media/combined-reference.mp4 /root/media/combined-reference.mp4 ENV APP=friction SDL_AUDIODRIVER=dummy WORKDIR /root CMD ["/usr/local/bin/start-editor"]