A rocm-dev image based on mcr.microsoft.com/devcontainers/base:ubuntu
953
An Ubuntu 22.04 image based on mcr.microsoft.com/devcontainers/base:ubuntu. The image comes with AMD rocm-dev installed (v. 6.1.2). For a detailed overview of the additional linux tools and packages included in the base image see here.
FROM mcr.microsoft.com/devcontainers/base:ubuntu-22.04
ARG ROCM_VERSION=6.1.2
ARG AMDGPU_VERSION=6.1.2
ARG APT_PREF="Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600"
RUN echo "$APT_PREF" > /etc/apt/preferences.d/rocm-pin-600
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates curl libnuma-dev gnupg \
&& curl -sL https://repo.radeon.com/rocm/rocm.gpg.key | apt-key add - \
&& printf "deb [arch=amd64] https://repo.radeon.com/rocm/apt/$ROCM_VERSION/ jammy main" | tee /etc/apt/sources.list.d/rocm.list \
&& printf "deb [arch=amd64] https://repo.radeon.com/amdgpu/$AMDGPU_VERSION/ubuntu jammy main" | tee /etc/apt/sources.list.d/amdgpu.list \
&& apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
libelf1 \
kmod \
file \
python3 \
python3-pip \
rocm-dev \
build-essential && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN groupadd -g 110 render
Content type
Image
Digest
sha256:cde7aade6…
Size
1.1 GB
Last updated
over 1 year ago
docker pull mbrvtt/rocm-microsoft-ubuntu