Skip to content

Commit

Permalink
change the gpu def file
Browse files Browse the repository at this point in the history
  • Loading branch information
zhcf committed Nov 4, 2020
1 parent e48964f commit 0fa5788
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions centos-xfce-vnc-gpu.def
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Bootstrap: docker
From: nvidia/cuda:10.1-cudnn7-devel-centos7


%environment
export LANG='en_US.UTF-8'
export LANGUAGE='en_US:en'
Expand Down Expand Up @@ -37,6 +38,9 @@ export VNC_RESOLUTION=1280x1024
export VNC_PW=vncpassword
export VNC_VIEW_ONLY=false

rm -rf /etc/yum.repos.d/cuda*
rm -rf /etc/yum.repos.d/nvidia*

### Add all install scripts for further steps
ls $DEFAULTHOME/install
find $DEFAULTHOME/install -name '*.sh' -exec chmod a+x {} +
Expand Down

0 comments on commit 0fa5788

Please sign in to comment.