From 73ecb82290df3d6e2d9cd8ff003aafa851797b89 Mon Sep 17 00:00:00 2001 From: Andreas Gerstmayr Date: Sun, 28 Jan 2024 23:41:04 +0100 Subject: [PATCH] use upstream docker --- images/silverblue-nvidia/Containerfile | 4 +- .../root/etc/yum.repos.d/docker-ce.repo | 62 +++++++++++++++++++ 2 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 images/silverblue-nvidia/root/etc/yum.repos.d/docker-ce.repo diff --git a/images/silverblue-nvidia/Containerfile b/images/silverblue-nvidia/Containerfile index 34398af..edebdfb 100644 --- a/images/silverblue-nvidia/Containerfile +++ b/images/silverblue-nvidia/Containerfile @@ -4,6 +4,8 @@ RUN mkdir -p /var/lib/alternatives && \ rpm-ostree install \ btrbk strace wireshark \ terminator zsh make ripgrep \ - code docker golang pipenv && \ + code golang pipenv \ + docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin \ + && \ rm -r /var/lib/alternatives && \ ostree container commit diff --git a/images/silverblue-nvidia/root/etc/yum.repos.d/docker-ce.repo b/images/silverblue-nvidia/root/etc/yum.repos.d/docker-ce.repo new file mode 100644 index 0000000..6f94e4f --- /dev/null +++ b/images/silverblue-nvidia/root/etc/yum.repos.d/docker-ce.repo @@ -0,0 +1,62 @@ +[docker-ce-stable] +name=Docker CE Stable - $basearch +baseurl=https://download.docker.com/linux/fedora/$releasever/$basearch/stable +enabled=1 +gpgcheck=1 +gpgkey=https://download.docker.com/linux/fedora/gpg + +[docker-ce-stable-debuginfo] +name=Docker CE Stable - Debuginfo $basearch +baseurl=https://download.docker.com/linux/fedora/$releasever/debug-$basearch/stable +enabled=0 +gpgcheck=1 +gpgkey=https://download.docker.com/linux/fedora/gpg + +[docker-ce-stable-source] +name=Docker CE Stable - Sources +baseurl=https://download.docker.com/linux/fedora/$releasever/source/stable +enabled=0 +gpgcheck=1 +gpgkey=https://download.docker.com/linux/fedora/gpg + +[docker-ce-test] +name=Docker CE Test - $basearch +baseurl=https://download.docker.com/linux/fedora/$releasever/$basearch/test +enabled=0 +gpgcheck=1 +gpgkey=https://download.docker.com/linux/fedora/gpg + +[docker-ce-test-debuginfo] +name=Docker CE Test - Debuginfo $basearch +baseurl=https://download.docker.com/linux/fedora/$releasever/debug-$basearch/test +enabled=0 +gpgcheck=1 +gpgkey=https://download.docker.com/linux/fedora/gpg + +[docker-ce-test-source] +name=Docker CE Test - Sources +baseurl=https://download.docker.com/linux/fedora/$releasever/source/test +enabled=0 +gpgcheck=1 +gpgkey=https://download.docker.com/linux/fedora/gpg + +[docker-ce-nightly] +name=Docker CE Nightly - $basearch +baseurl=https://download.docker.com/linux/fedora/$releasever/$basearch/nightly +enabled=0 +gpgcheck=1 +gpgkey=https://download.docker.com/linux/fedora/gpg + +[docker-ce-nightly-debuginfo] +name=Docker CE Nightly - Debuginfo $basearch +baseurl=https://download.docker.com/linux/fedora/$releasever/debug-$basearch/nightly +enabled=0 +gpgcheck=1 +gpgkey=https://download.docker.com/linux/fedora/gpg + +[docker-ce-nightly-source] +name=Docker CE Nightly - Sources +baseurl=https://download.docker.com/linux/fedora/$releasever/source/nightly +enabled=0 +gpgcheck=1 +gpgkey=https://download.docker.com/linux/fedora/gpg