File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM ubuntu:noble AS builder
2- ARG FFMPEG_VERSION="8.0.1 "
3- ARG RCLONE_VER="v1.73.0 "
2+ ARG FFMPEG_VERSION="8.0"
3+ ARG RCLONE_VER="v1.73-stable "
44ARG GO_VERSION="latest"
55# ARG GO_CRYPTO_VERSION="v0.36.0"
66# ARG GO_OAUTH2_VERSION="v0.27.0"
@@ -33,9 +33,8 @@ RUN if [ "${GO_VERSION}" = "latest" ]; then \
3333 && go version
3434
3535RUN cd /usr/local/src \
36- && git clone https://github.com/rclone/rclone.git --filter=blob:none \
36+ && git clone -b ${RCLONE_VER} --single-branch --depth 1 https://github.com/rclone/rclone.git \
3737 && cd rclone \
38- && git checkout ${RCLONE_VER} \
3938 # Patch deps version in go.mod to fix CVEs
4039# && sed -i "s|golang.org/x/crypto v.*|golang.org/x/crypto ${GO_CRYPTO_VERSION}|g" go.mod \
4140# && sed -i "s|golang.org/x/oauth2 v.*|golang.org/x/oauth2 ${GO_OAUTH2_VERSION}|g" go.mod \
@@ -62,9 +61,8 @@ RUN cd /usr/local/src \
6261# Install FFmpeg from source
6362# ======================================
6463RUN cd /usr/local/src \
65- && git clone https://github.com/FFmpeg/FFmpeg.git --filter=blob:none \
64+ && git clone -b release/${FFMPEG_VERSION} --single-branch --depth 1 https://github.com/FFmpeg/FFmpeg.git \
6665 && cd FFmpeg \
67- && git checkout n${FFMPEG_VERSION} \
6866 && rm -rf .git \
6967 && PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" FFMPEG_VERSION=${FFMPEG_VERSION} ./configure \
7068 --prefix="/usr/local" \
You can’t perform that action at this time.
0 commit comments