Update Dockerfile

This commit is contained in:
Namhyeon Go 2024-06-15 18:59:00 +00:00
parent e6df81ae9d
commit eef8ae1477

View File

@ -4,7 +4,7 @@ FROM nvidia/cuda:12.0.0-cudnn8-devel-ubuntu20.04
# Set environment variables to avoid interactive prompts during package installation # Set environment variables to avoid interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
# Change the APT package server (fix HashSum issue) # Change the APT package server (fix "Hash Sum Mismatch" problem)
RUN sed -i 's/archive.ubuntu.com/repo.catswords.com/g' /etc/apt/sources.list RUN sed -i 's/archive.ubuntu.com/repo.catswords.com/g' /etc/apt/sources.list
RUN sed -i 's/security.ubuntu.com/repo.catswords.com/g' /etc/apt/sources.list RUN sed -i 's/security.ubuntu.com/repo.catswords.com/g' /etc/apt/sources.list