Fix bash 2

This commit is contained in:
Nick Mowen 2022-08-23 08:06:24 -06:00
parent 8a5467a7ec
commit 1b818b910d

View File

@ -84,11 +84,11 @@ RUN apt-get -qq update \
mkdir -p /usr/lib/btbn-ffmpeg \ mkdir -p /usr/lib/btbn-ffmpeg \
&& wget -O btbn-ffmpeg.tar.xz "https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2022-07-31-12-37/ffmpeg-n5.1-2-g915ef932a3-linux$( [ "$TARGETARCH" = "amd64" ] && echo "64" || echo "arm64" )-gpl-5.1.tar.xz" \ && wget -O btbn-ffmpeg.tar.xz "https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2022-07-31-12-37/ffmpeg-n5.1-2-g915ef932a3-linux$( [ "$TARGETARCH" = "amd64" ] && echo "64" || echo "arm64" )-gpl-5.1.tar.xz" \
&& tar -xf btbn-ffmpeg.tar.xz -C /usr/lib/btbn-ffmpeg --strip-components 1 \ && tar -xf btbn-ffmpeg.tar.xz -C /usr/lib/btbn-ffmpeg --strip-components 1 \
&& rm btbn-ffmpeg.tar.xz \ && rm btbn-ffmpeg.tar.xz; \
fi \ fi \
# ffmpeg -> arm32 # ffmpeg -> arm32
&& if [ "${TARGETARCH}" = "arm" ]; then \ && if [ "${TARGETARCH}" = "arm" ]; then \
apt-get -qq install --no-install-recommends --no-install-suggests -y ffmpeg \ apt-get -qq install --no-install-recommends --no-install-suggests -y ffmpeg; \
fi \ fi \
# arch specific packages # arch specific packages
&& if [ "${TARGETARCH}" = "amd64" ]; then \ && if [ "${TARGETARCH}" = "amd64" ]; then \