mirror of
https://github.com/RadeonOpenCompute/ROCm-docker.git
synced 2023-04-23 17:53:00 +03:00
Upgrade rocm-terminal to ubuntu20.04
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
ROCM_VERSION=5.2.3
|
||||
AMDGPU_VERSION=22.20.3
|
||||
ROCM_VERSION=5.3
|
||||
AMDGPU_VERSION=5.3
|
||||
cp -r scripts rocm-terminal
|
||||
cp -r scripts dev
|
||||
|
||||
|
||||
@@ -10,18 +10,18 @@
|
||||
# If it is desired to run the container manually through the docker command-line, the following is an example
|
||||
# 'docker run -it --rm -v [host/directory]:[container/directory]:ro <user-name>/<project-name>'.
|
||||
|
||||
FROM ubuntu:18.04
|
||||
FROM ubuntu:20.04
|
||||
MAINTAINER Peng Sun <Peng.Sun@amd.com>
|
||||
|
||||
# Initialize the image
|
||||
# Modify to pre-install dev tools and ROCm packages
|
||||
ARG ROCM_VERSION=4.5.2
|
||||
ARG AMDGPU_VERSION=21.40.2
|
||||
ARG ROCM_VERSION=5.3
|
||||
ARG AMDGPU_VERSION=5.3
|
||||
|
||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates curl gnupg && \
|
||||
curl -sL http://repo.radeon.com/rocm/rocm.gpg.key | apt-key add - && \
|
||||
sh -c 'echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/$ROCM_VERSION/ ubuntu main > /etc/apt/sources.list.d/rocm.list' && \
|
||||
sh -c 'echo deb [arch=amd64] https://repo.radeon.com/amdgpu/$AMDGPU_VERSION/ubuntu bionic main > /etc/apt/sources.list.d/amdgpu.list' && \
|
||||
sh -c 'echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/$ROCM_VERSION/ focal main > /etc/apt/sources.list.d/rocm.list' && \
|
||||
sh -c 'echo deb [arch=amd64] https://repo.radeon.com/amdgpu/$AMDGPU_VERSION/ubuntu focal main > /etc/apt/sources.list.d/amdgpu.list' && \
|
||||
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
sudo \
|
||||
libelf1 \
|
||||
|
||||
Reference in New Issue
Block a user