Skip to content

Commit

Permalink
ffmpeg v6
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Sep 18, 2023
1 parent bb0202f commit 82f5ee9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FROM base as builder
ARG ARM
ARG LIB_ARCH=${ARM:+arm}
ARG MTX_ARCH=${ARM:+armv7}
ARG FFMPEG_ARCH=${ARM:+armv7l}
ARG FFMPEG_ARCH=${ARM:+arm32v7}
RUN apt-get update \
&& apt-get install -y curl tar ${ARM:+gcc} \
&& apt-get clean \
Expand All @@ -18,7 +18,7 @@ RUN pip3 install --disable-pip-version-check --prefix=/build/usr/local -r /build
RUN cd /build \
&& . app/.env \
&& mkdir -p tokens img \
&& curl -SL https://github.com/homebridge/ffmpeg-for-homebridge/releases/latest/download/ffmpeg-debian-${FFMPEG_ARCH:-x86_64}.tar.gz \
&& curl -SL https://github.com/homebridge/ffmpeg-for-homebridge/releases/latest/download/ffmpeg-alpine-${FFMPEG_ARCH:-x86_64}.tar.gz \
| tar xzf - -C . \
&& curl -SL https://github.com/bluenviron/mediamtx/releases/download/v${MTX_TAG}/mediamtx_v${MTX_TAG}_linux_${MTX_ARCH:-amd64}.tar.gz \
| tar xzf - -C app \
Expand Down
4 changes: 2 additions & 2 deletions app/Dockerfile.multiarch
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FROM base_$TARGETARCH as builder
ARG ARM
ARG LIB_ARCH=${ARM:+arm}
ARG MTX_ARCH=${ARM:+armv7}
ARG FFMPEG_ARCH=${ARM:+armv7l}
ARG FFMPEG_ARCH=${ARM:+arm32v7}
RUN apt-get update \
&& apt-get install -y curl tar ${ARM:+gcc} \
&& apt-get clean \
Expand All @@ -18,7 +18,7 @@ RUN pip3 install --disable-pip-version-check --prefix=/build/usr/local -r /build
RUN cd /build \
&& . app/.env \
&& mkdir -p tokens img \
&& curl -SL https://github.com/homebridge/ffmpeg-for-homebridge/releases/latest/download/ffmpeg-debian-${FFMPEG_ARCH:-x86_64}.tar.gz \
&& curl -SL https://github.com/homebridge/ffmpeg-for-homebridge/releases/latest/download/ffmpeg-alpine-${FFMPEG_ARCH:-x86_64}.tar.gz \
| tar xzf - -C . \
&& curl -SL https://github.com/bluenviron/mediamtx/releases/download/v${MTX_TAG}/mediamtx_v${MTX_TAG}_linux_${MTX_ARCH:-amd64}.tar.gz \
| tar xzf - -C app \
Expand Down

0 comments on commit 82f5ee9

Please sign in to comment.