Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
espressomd
docker
Commits
1725cf09
Verified
Commit
1725cf09
authored
Jun 04, 2020
by
Jean-Noël Grad
Browse files
Pin ROCm repository
This guarantees apt fetches all ROCm packages from the same release.
parent
f9d0a069
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker/Dockerfile-rocm
View file @
1725cf09
...
...
@@ -2,7 +2,10 @@ 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 rocblas rocsolver kmod \
&& apt-get clean \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment