Skip to content

Commit a7bdae1

Browse files
committed
Docker: Update FFmpeg and Rclone
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 966a78a commit a7bdae1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.ffmpeg/Dockerfile

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
FROM ubuntu:noble AS builder
22
ARG FFMPEG_VERSION="7.1"
3-
ARG RCLONE_VER="v1.69.0"
3+
ARG RCLONE_VER="v1.69.1"
44
ARG GO_VERSION="latest"
5+
ARG GO_CRYPTO_VERSION="0.35.0"
6+
ARG GO_OAUTH2_VERSION=" 0.27.0"
57

68
USER root
79

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

0 commit comments

Comments
 (0)