Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions apps/subgen/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,10 @@ RUN git clone https://github.com/McCloudS/subgen.git . && \
# git apply fails loudly if a hunk doesn't match — so an upstream
# rename or refactor will fail the build instead of silently
# producing a broken image.
COPY patches/ /tmp/patches/
RUN for p in /tmp/patches/*.patch; do \
echo "Applying $p" && git apply --verbose "$p"; \
done && \
rm -rf /tmp/patches .git
COPY patches/01-always-extract-audio-via-ffmpeg.patch /tmp/01-always-extract-audio-via-ffmpeg.patch
RUN git apply --verbose /tmp/01-always-extract-audio-via-ffmpeg.patch && \
rm -f /tmp/01-always-extract-audio-via-ffmpeg.patch && \
rm -rf .git

RUN mkdir -p /cache

Expand Down
Loading