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 a7bdae1 commit 788c7b3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .ffmpeg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM ubuntu:noble AS builder
ARG FFMPEG_VERSION="7.1"
ARG RCLONE_VER="v1.69.1"
ARG GO_VERSION="latest"
ARG GO_CRYPTO_VERSION="0.35.0"
ARG GO_OAUTH2_VERSION=" 0.27.0"
#ARG GO_CRYPTO_VERSION="v0.35.0"
#ARG GO_OAUTH2_VERSION="v0.27.0"

USER root

Expand Down Expand Up @@ -34,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/oauth2 v.*|golang.org/x/oauth2 ${GO_OAUTH2_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 788c7b3

Please sign in to comment.