261b0a6f50
[ROCm/hip commit: 1f6b3e2aa5]
20 строки
624 B
Plaintext
20 строки
624 B
Plaintext
# Parameters related to building hip
|
|
ARG base_image
|
|
|
|
FROM ${base_image}
|
|
MAINTAINER Kent Knox <kent.knox@amd>
|
|
|
|
# Copy the debian package of hip into the container from host
|
|
COPY *.deb /tmp/
|
|
|
|
# Install the debian package
|
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y curl \
|
|
&& apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --allow-unauthenticated -y \
|
|
/tmp/hip-base-*.deb \
|
|
/tmp/hip-hcc-*.deb \
|
|
/tmp/hip-doc-*.deb \
|
|
/tmp/hip-samples-* \
|
|
&& rm -f /tmp/*.deb \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|