Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SD] install rclone from upstream (fixes issue #751) #757

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion stable_diffusion/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,20 @@ ARG FROM_IMAGE_NAME=nvcr.io/nvidia/pytorch:24.01-py3
FROM ${FROM_IMAGE_NAME}

ENV DEBIAN_FRONTEND=noninteractive
ENV RCLONE_VER=v1.67.0

# apt dependencies
RUN apt-get update
RUN apt-get install -y ffmpeg libsm6 libxext6 rclone
RUN apt-get install -y ffmpeg libsm6 libxext6

# Install rclone from upstream, see https://github.com/mlcommons/training/issues/751
RUN wget https://github.com/rclone/rclone/releases/download/${RCLONE_VER}/rclone-${RCLONE_VER}-linux-amd64.zip \
&& unzip rclone-${RCLONE_VER}-linux-amd64.zip \
&& cd rclone-${RCLONE_VER}-linux-amd64 \
&& cp rclone /usr/bin/ \
&& chmod 755 /usr/bin/rclone \
&& rm -rf /rclone-${RCLONE_VER}-linux-amd64* \
&& rclone --version

# Remove the opencv version shipped with the base image
# https://github.com/opencv/opencv-python/issues/884
Expand Down
Loading