From 54ff07b1a16bbf5593ae82b74f11fca8b3ad1c6f Mon Sep 17 00:00:00 2001 From: vladd-bit Date: Tue, 17 Dec 2024 23:16:58 +0000 Subject: [PATCH] Dockerfile update. --- Dockerfile_hub | 20 ++++++++++---------- Dockerfile_singleuser | 20 ++++++++++---------- Dockerfile_singleuser_gpu | 22 +++++++++++----------- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/Dockerfile_hub b/Dockerfile_hub index a9dff01..ec48f4f 100644 --- a/Dockerfile_hub +++ b/Dockerfile_hub @@ -34,17 +34,17 @@ RUN apt-add-repository multiverse && \ # Add latest ubuntu repos to sources.list # add arch RUN if [ "${CPU_ARCHITECTURE}" = "amd64" ]; then \ - echo "deb http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb-src http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb http://archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb-src http://archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb-src http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb http://archive.canonical.com/ubuntu/ noble partner" | tee -a /etc/apt/sources.list ; \ - echo "deb-src http://archive.canonical.com/ubuntu/ noble partner" | tee -a /etc/apt/sources.list ; \ + echo "deb http://ports.ubuntu.com/ubuntu-ports noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb-src http://ports.ubuntu.com/ubuntu-ports noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb http://ports.ubuntu.com/ubuntu-ports noble-security main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb-src http://ports.ubuntu.com/ubuntu-ports noble-security main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb http://ports.ubuntu.com/ubuntu-ports noble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb-src http://ports.ubuntu.com/ubuntu-portsnoble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb http://archive.canonical.com/ubuntu/ jammy partner" | tee -a /etc/apt/sources.list ; \ + echo "deb-src http://archive.canonical.com/ubuntu/ jammy partner" | tee -a /etc/apt/sources.list ; \ elif [ "${CPU_ARCHITECTURE}" = "arm64" ]; then \ - echo "deb [arch=arm64] http://archive.canonical.com/ubuntu/ noble partner" | tee -a /etc/apt/sources.list ; \ - echo "deb-src [arch=arm64] http://archive.canonical.com/ubuntu/ noble partner" | tee -a /etc/apt/sources.list ; \ + echo "deb [arch=arm64] http://archive.canonical.com/ubuntu/ jammy partner" | tee -a /etc/apt/sources.list ; \ + echo "deb-src [arch=arm64] http://archive.canonical.com/ubuntu/ jammy partner" | tee -a /etc/apt/sources.list ; \ echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble-updates main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ diff --git a/Dockerfile_singleuser b/Dockerfile_singleuser index 385164d..9bd24d4 100644 --- a/Dockerfile_singleuser +++ b/Dockerfile_singleuser @@ -34,17 +34,17 @@ RUN apt-add-repository multiverse && \ # Add latest ubuntu repos to sources.list # add arch RUN if [ "${CPU_ARCHITECTURE}" = "amd64" ]; then \ - echo "deb http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb-src http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb http://archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb-src http://archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb-src http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb http://archive.canonical.com/ubuntu/ noble partner" | tee -a /etc/apt/sources.list ; \ - echo "deb-src http://archive.canonical.com/ubuntu/ noble partner" | tee -a /etc/apt/sources.list ; \ + echo "deb http://ports.ubuntu.com/ubuntu-ports noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb-src http://ports.ubuntu.com/ubuntu-ports noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb http://ports.ubuntu.com/ubuntu-ports noble-security main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb-src http://ports.ubuntu.com/ubuntu-ports noble-security main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb http://ports.ubuntu.com/ubuntu-ports noble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb-src http://ports.ubuntu.com/ubuntu-portsnoble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb http://archive.canonical.com/ubuntu/ jammy partner" | tee -a /etc/apt/sources.list ; \ + echo "deb-src http://archive.canonical.com/ubuntu/ jammy partner" | tee -a /etc/apt/sources.list ; \ elif [ "${CPU_ARCHITECTURE}" = "arm64" ]; then \ - echo "deb [arch=arm64] http://archive.canonical.com/ubuntu/ noble partner" | tee -a /etc/apt/sources.list ; \ - echo "deb-src [arch=arm64] http://archive.canonical.com/ubuntu/ noble partner" | tee -a /etc/apt/sources.list ; \ + echo "deb [arch=arm64] http://archive.canonical.com/ubuntu/ jammy partner" | tee -a /etc/apt/sources.list ; \ + echo "deb-src [arch=arm64] http://archive.canonical.com/ubuntu/ jammy partner" | tee -a /etc/apt/sources.list ; \ echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble-updates main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ diff --git a/Dockerfile_singleuser_gpu b/Dockerfile_singleuser_gpu index b726d17..63e01c7 100644 --- a/Dockerfile_singleuser_gpu +++ b/Dockerfile_singleuser_gpu @@ -38,19 +38,19 @@ RUN apt-add-repository multiverse && \ apt-get update && apt-get upgrade -y # Add latest ubuntu repos to sources.list - +# add arch RUN if [ "${CPU_ARCHITECTURE}" = "amd64" ]; then \ - echo "deb http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb-src http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb http://archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb-src http://archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb-src http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ - echo "deb http://archive.canonical.com/ubuntu/ noble partner" | tee -a /etc/apt/sources.list ; \ - echo "deb-src http://archive.canonical.com/ubuntu/ noble partner" | tee -a /etc/apt/sources.list ; \ + echo "deb http://ports.ubuntu.com/ubuntu-ports noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb-src http://ports.ubuntu.com/ubuntu-ports noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb http://ports.ubuntu.com/ubuntu-ports noble-security main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb-src http://ports.ubuntu.com/ubuntu-ports noble-security main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb http://ports.ubuntu.com/ubuntu-ports noble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb-src http://ports.ubuntu.com/ubuntu-portsnoble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ + echo "deb http://archive.canonical.com/ubuntu/ jammy partner" | tee -a /etc/apt/sources.list ; \ + echo "deb-src http://archive.canonical.com/ubuntu/ jammy partner" | tee -a /etc/apt/sources.list ; \ elif [ "${CPU_ARCHITECTURE}" = "arm64" ]; then \ - echo "deb [arch=arm64] http://archive.canonical.com/ubuntu/ noble partner" | tee -a /etc/apt/sources.list ; \ - echo "deb-src [arch=arm64] http://archive.canonical.com/ubuntu/ noble partner" | tee -a /etc/apt/sources.list ; \ + echo "deb [arch=arm64] http://archive.canonical.com/ubuntu/ jammy partner" | tee -a /etc/apt/sources.list ; \ + echo "deb-src [arch=arm64] http://archive.canonical.com/ubuntu/ jammy partner" | tee -a /etc/apt/sources.list ; \ echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble-updates main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \ echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list ; \