From e51fc5fcd5886dfef71cb445c0b2f7b721e8b2a9 Mon Sep 17 00:00:00 2001 From: sunway513 Date: Wed, 14 Mar 2018 12:54:55 -0700 Subject: [PATCH] fix rocm/rocm-terminal Dockerfile and document the known docker defects --- README.md | 2 ++ rocm-terminal/Dockerfile | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1ddd085..cbd0e8b 100644 --- a/README.md +++ b/README.md @@ -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: [1] 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. diff --git a/rocm-terminal/Dockerfile b/rocm-terminal/Dockerfile index 8d5745f..0d2fba4 100644 --- a/rocm-terminal/Dockerfile +++ b/rocm-terminal/Dockerfile @@ -11,7 +11,7 @@ # 'docker run -it --rm -v [host/directory]:[container/directory]:ro /'. FROM ubuntu:16.04 -MAINTAINER Peng Sun +MAINTAINER Peng Sun # 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 && \