File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,20 @@ ARG FROM_IMAGE_NAME=nvcr.io/nvidia/pytorch:24.01-py3
2
2
FROM ${FROM_IMAGE_NAME}
3
3
4
4
ENV DEBIAN_FRONTEND=noninteractive
5
+ ENV RCLONE_VER=v1.67.0
5
6
6
7
# apt dependencies
7
8
RUN apt-get update
8
- RUN apt-get install -y ffmpeg libsm6 libxext6 rclone
9
+ RUN apt-get install -y ffmpeg libsm6 libxext6
10
+
11
+ # Install rclone from upstream, see https://github.com/mlcommons/training/issues/751
12
+ RUN wget https://github.com/rclone/rclone/releases/download/${RCLONE_VER}/rclone-${RCLONE_VER}-linux-amd64.zip \
13
+ && unzip rclone-${RCLONE_VER}-linux-amd64.zip \
14
+ && cd rclone-${RCLONE_VER}-linux-amd64 \
15
+ && cp rclone /usr/bin/ \
16
+ && chmod 755 /usr/bin/rclone \
17
+ && rm -rf /rclone-${RCLONE_VER}-linux-amd64* \
18
+ && rclone --version
9
19
10
20
# Remove the opencv version shipped with the base image
11
21
# https://github.com/opencv/opencv-python/issues/884
You can’t perform that action at this time.
0 commit comments