Skip to content

Commit

Permalink
fix: fix url in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nidbCN committed Nov 15, 2024
1 parent 276bb1f commit 8308fea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ RUN dotnet publish "./CameraCaptureBot.Core/CameraCaptureBot.Core.csproj" -c $BU
FROM alpine AS ffmpeg
WORKDIR /tmp
RUN apk add --no-cache curl xz
ARG FFMPEG_URL=https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2024-04-30-12-51/ffmpeg-n7.0-21-gfb8f0ea7b3-linux64-gpl-7.0.tar.xz
ARG FFMPEG_URL=https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n7.1-latest-linux64-gpl-shared-7.1.tar.xz
RUN curl -L $FFMPEG_URL -o ffmpeg.tar.xz && \
mkdir -p ffmpeg && \
tar -xJf ffmpeg.tar.xz -C ffmpeg --strip-components=1 "ffmpeg-n7.0.2-6-g7e69129d2f-linux64-gpl-shared-7.0/lib" && \
tar -xJf ffmpeg.tar.xz -C ffmpeg --strip-components=1 "ffmpeg-n7.1-latest-linux64-gpl-shared-7.1/lib" && \
ls ffmpeg

FROM base AS final
Expand Down

0 comments on commit 8308fea

Please sign in to comment.