File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ FROM ubuntu:noble AS builder
22ARG FFMPEG_VERSION="7.1"
33ARG RCLONE_VER="v1.69.1"
44ARG GO_VERSION="latest"
5- ARG GO_CRYPTO_VERSION="0 .35.0"
6- ARG GO_OAUTH2_VERSION=" 0 .27.0"
5+ # ARG GO_CRYPTO_VERSION="v0 .35.0"
6+ # ARG GO_OAUTH2_VERSION="v0 .27.0"
77
88USER root
99
@@ -34,9 +34,9 @@ RUN cd /usr/local/src \
3434 && cd rclone \
3535 && git checkout ${RCLONE_VER} \
3636 # Patch deps version in go.mod to fix CVEs
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 \
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 \
4040 # Build rclone
4141 && make \
4242 && mv ~/go/bin/rclone /usr/local/bin/ \
You can’t perform that action at this time.
0 commit comments