mirror of
https://github.com/RadeonOpenCompute/ROCm-docker.git
synced 2023-04-23 17:53:00 +03:00
fix rocm/rocm-terminal Dockerfile and document the known docker defects
This commit is contained in:
@@ -98,5 +98,7 @@ To increase container security:
|
||||
1. Eliminate the sudo-nopasswd COPY statement in the dockerfile and replace with
|
||||
2. Your own password with `RUN echo 'account:password' | chpasswd`
|
||||
|
||||
The docker.ce release 18.02 has known defects working with **rocm-user** account insider docker image.
|
||||
Please upgrade docker package to the [18.04 build](https://download.docker.com/linux/ubuntu/dists/xenial/pool/nightly/amd64/docker-ce_18.04.0~ce~dev~git20180313.171447.0.6e4307b-0~ubuntu_amd64.deb).
|
||||
### Footnotes:
|
||||
<a name="ROCK">[1]</a> It can be installed into a container, it just doesn't do anything because containers do not go through the traditional boot process. We actually do provide a container for ROCK-Kernel-Driver, but it not used by the rest of the docker images. It does provide isolation and a reproducible environment for kernel development.
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# 'docker run -it --rm -v [host/directory]:[container/directory]:ro <user-name>/<project-name>'.
|
||||
|
||||
FROM ubuntu:16.04
|
||||
MAINTAINER Peng Sun <peng.sun@amd>
|
||||
MAINTAINER Peng Sun <Peng.Sun@amd>
|
||||
|
||||
# Initialize the image
|
||||
# Modify to pre-install dev tools and ROCm packages
|
||||
@@ -21,10 +21,9 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
||||
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
sudo \
|
||||
libelf1 \
|
||||
libnuma-dev \
|
||||
build-essential \
|
||||
git \
|
||||
python \
|
||||
libnuma-dev \
|
||||
vim-nox \
|
||||
cmake-curses-gui \
|
||||
rocm-dev && \
|
||||
|
||||
Reference in New Issue
Block a user