mirror of
https://github.com/ROCm/ROCm-docker.git
synced 2026-05-05 23:56: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
624 B
Plaintext
15 lines
624 B
Plaintext
# Build this dockerfile with `docker build -f hcc-lc-release-dockerfile -t roc/hcc .`
|
|
|
|
# To reduce container rebuild time, place commands least likely to change at top to
|
|
# most changing at bottom
|
|
|
|
# This builds the hcc compiler, and depends on an already existing rocr-runtime to be found
|
|
FROM ${rocr_image_name_deb}
|
|
MAINTAINER Kent Knox <kent.knox@amd>
|
|
|
|
# Following assumes that the apt-get update is already set up to pull from repo.radeon.com in base image
|
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
|
|
hcc_lc && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|