rocm/dev-ubuntu-20.04

By rocm

Updated about 6 hours ago

Image

50K+

A simple image with the rocm-dev package installed from repo.radeon.com. No kernel level components installed. It's meant to serve as a base ROCm image for downstream images to derive from with the dockerfile FROM statement. The contents of this image is built with:

FROM ubuntu:20.04 LABEL maintainer=peng.sun@amd.com

Register the ROCM package repository, and install rocm-dev package

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl libnuma-dev gnupg
&& curl -sL http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | apt-key add -
&& printf "deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main" | tee /etc/apt/sources.list.d/rocm.list
&& apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends
sudo
libelf1
rocm-dev
build-essential &&
apt-get clean &&
rm -rf /var/lib/apt/lists/*

Docker Pull Command

docker pull rocm/dev-ubuntu-20.04