Upgrade rocm-terminal to ubuntu20.04

This commit is contained in:
sunway513
2022-10-01 17:49:59 -07:00
parent 1b27a2a0f1
commit 04e64d71dd
2 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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 \