From c4e73cfbc7cecef6523e88e57ba3e3538d842146 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Tue, 23 Feb 2021 20:04:53 +0800 Subject: [PATCH] Fix Docker image build by using Ubuntu old-release apt repository Ubuntu 19.10 is EOL, but due to Nvidia library compatibility issue, the base image of the Dockerfile wasn't upgraded to newer Ubuntu yet, and a standard apt repository site won't be reachable in this case, which makes the Docker image not able to be built. Before the base image upgrade, a workaround to use old-releases apt repository can make the image be able to be built again. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index a57d2d0..75414f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,9 @@ LABEL maintainer="Danielle Douglas " LABEL maintainer="Lhanjian " LABEL maintainer="K4YT3X " +RUN sed -i 's/archive.ubuntu.com/old-releases.ubuntu.com/g' sources.list +RUN sed -i 's/security.ubuntu.com/old-releases.ubuntu.com/g' sources.list + # run installation RUN apt-get update \ && apt-get install -y git-core \