ROCm-docker/hcc-lc/hcc-lc-deb-dockerfile.template
Kent Knox 078b40bad5 Adding dev/* dockerfiles meant to serve as base images
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.
2017-11-08 10:26:27 -06:00

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/*