mirror of
https://github.com/ROCm/ROCm-docker.git
synced 2026-05-06 08:06:11 +02:00
New dockerfiles exist in a subdirectory called /dev. These are meant to serve as base docker images downstream dockerfiles use in FROM statements Fixed stale URL's and fixed up the name of the rocm kernel packages.
15 lines
745 B
Plaintext
15 lines
745 B
Plaintext
# This dockerfile is meant to serve as a rocm base image. It registers the debian rocm package repository, and
|
|
# installs the rocm-dev package.
|
|
|
|
FROM ubuntu:16.04
|
|
LABEL maintainer=kent.knox@amd
|
|
|
|
# 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 \
|
|
&& 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 \
|
|
rocm-dev \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|