Skip to content

Commit

Permalink
Docker: Update FFmpeg and Rclone
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
VietND96 committed Mar 3, 2025
1 parent 966a78a commit a7bdae1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .ffmpeg/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM ubuntu:noble AS builder
ARG FFMPEG_VERSION="7.1"
ARG RCLONE_VER="v1.69.0"
ARG RCLONE_VER="v1.69.1"
ARG GO_VERSION="latest"
ARG GO_CRYPTO_VERSION="0.35.0"
ARG GO_OAUTH2_VERSION=" 0.27.0"

USER root

Expand Down Expand Up @@ -32,9 +34,9 @@ RUN cd /usr/local/src \
&& cd rclone \
&& git checkout ${RCLONE_VER} \
# Patch deps version in go.mod to fix CVEs
# && sed -i "s|golang.org/x/crypto v.*|golang.org/x/crypto ${GO_CRYPTO_VERSION}|g" go.mod \
# && sed -i "s|golang.org/x/net v.*|golang.org/x/net ${GO_NET_VERSION}|g" go.mod \
# && go mod tidy \
&& sed -i "s|golang.org/x/crypto v.*|golang.org/x/crypto ${GO_CRYPTO_VERSION}|g" go.mod \
&& sed -i "s|golang.org/x/oauth2 v.*|golang.org/x/oauth2 ${GO_OAUTH2_VERSION}|g" go.mod \
&& go mod tidy \
# Build rclone
&& make \
&& mv ~/go/bin/rclone /usr/local/bin/ \
Expand Down

0 comments on commit a7bdae1

Please sign in to comment.