ROCm container on Dockerhub using outdated keys

Aperta
#83 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker, shell, ubuntu

Direzione di ricerca

Start by locating the Dockerfiles and build scripts for the DockerHub Ubuntu images, then identify how they configure the ROCm apt repository and keys. The issue names no specific file or test, so first determine which image versions share that setup. Done means the published images can run apt update and install ROCm packages without the reported signature error.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

All container versions on DockerHub should be updated because the apt repository key for the ROCm apt package sources is outdated.
This requires pulling the new keys by hand.
Because of the key mismatch, it is not possible in old containers to install additional rocm software, therefore many community CI's requires an update to integrate the key update into their CI scripts. e.g. our software alpaka, PIConGPU

wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
apt-get -y --quiet update

Reproducer:

$ docker run -it rocm/dev-ubuntu-20.04:4.1
$ apt update
...
[6319 B]
Get:19 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [2668 B]
Reading package lists... Done                                                  
W: GPG error: https://repo.radeon.com/rocm/apt/4.1 xenial InRelease: The following signatures were invalid: EXPKEYSIG 9386B48A1A693C5C James Adrian Edwards (ROCm Release Manager) <[email protected]>
E: The repository 'https://repo.radeon.com/rocm/apt/4.1 xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Lingua principale
Shell
Stelle
521
Fork
80
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ROCm/ROCm-docker

Tutte le issue di ROCm/ROCm-docker

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.