Unverified Commit fd7ed514 authored by Jean-Noël Grad's avatar Jean-Noël Grad Committed by GitHub
Browse files

Merge pull request #180 from jngrad/rocm_stokesian_deps

Add Stokesian Dynamics dependencies in ROCm image
parents 70057988 1725cf09
......@@ -2,9 +2,12 @@ ARG BASE_VERSION=3.3
FROM rocm/dev-ubuntu-18.04:${BASE_VERSION}
ENV DEBIAN_FRONTEND noninteractive
COPY ubuntu-packages.txt /tmp
RUN apt-get update && xargs -a /tmp/ubuntu-packages.txt apt-get install --no-install-recommends -y \
ARG BASE_VERSION
RUN apt_folder=$([ "${BASE_VERSION}" = "latest" ] && echo "debian" || echo "${BASE_VERSION}") \
&& sed -i "s|repo.radeon.com/rocm/apt/debian/|repo.radeon.com/rocm/apt/${apt_folder}/|" /etc/apt/sources.list.d/rocm.list \
&& apt-get update && xargs -a /tmp/ubuntu-packages.txt apt-get install --no-install-recommends -y \
&& apt-get install --no-install-recommends -y \
rocrand rocfft rocthrust kmod \
rocrand rocfft rocthrust rocblas rocsolver kmod \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment